summaryrefslogtreecommitdiff
path: root/ext/standard/url_scanner_ex.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-09-20 08:06:01 +0000
committerSascha Schumann <sas@php.net>2000-09-20 08:06:01 +0000
commitf27f790f29c0ce35354cd4a0929cba9beaf2a9d0 (patch)
treed600e3001d4fc8221ac46f38a8a5e0cdecbf5633 /ext/standard/url_scanner_ex.h
parente5bb148d4e681a2058d9d5238426557a39ba1cc7 (diff)
downloadphp-git-f27f790f29c0ce35354cd4a0929cba9beaf2a9d0.tar.gz
Another 5%-10% speed increase achieved by
- making ctx->val read-only - adding a special appendc function for appending single characters
Diffstat (limited to 'ext/standard/url_scanner_ex.h')
-rw-r--r--ext/standard/url_scanner_ex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/url_scanner_ex.h b/ext/standard/url_scanner_ex.h
index 43f75ee1d2..0199b2bd6d 100644
--- a/ext/standard/url_scanner_ex.h
+++ b/ext/standard/url_scanner_ex.h
@@ -35,7 +35,7 @@ typedef struct {
/* Used by the mainloop of the scanner */
smart_str tag; /* read only */
smart_str arg; /* read only */
- smart_str val;
+ smart_str val; /* read only */
smart_str buf;
/* Dito, but they are used only for preserving data across calls */