History log of /PHP-8.2/ext/standard/url_scanner_ex.re (Results 151 – 163 of 163)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 854c0622 20-Sep-2000 Sascha Schumann

Cleanup SCANNER_DEBUG and don't NUL terminate work buffer


# cfa22547 20-Sep-2000 Sascha Schumann

Use emalloc and friends. Since we reuse all buffers, this does not affect
the speed.

The smart_str_* functions don't NUL terminate strings anymore. We can
rely on the length of the s

Use emalloc and friends. Since we reuse all buffers, this does not affect
the speed.

The smart_str_* functions don't NUL terminate strings anymore. We can
rely on the length of the strings completely.

show more ...


# 16d7cb88 20-Sep-2000 Sascha Schumann

Remove this pseudo optimization from the previous rewrite.

Since we leave/enter the loop more often, the cost of maintaining
c_arg/c_val is higher than simply copying the tag/arg string

Remove this pseudo optimization from the previous rewrite.

Since we leave/enter the loop more often, the cost of maintaining
c_arg/c_val is higher than simply copying the tag/arg string once.

show more ...


# f27f790f 20-Sep-2000 Sascha Schumann

Another 5%-10% speed increase achieved by

- making ctx->val read-only
- adding a special appendc function for appending single characters


# 7aa23d3c 20-Sep-2000 Sascha Schumann

Add support for URLs containing NAME info (for scrolling; #name).


# a2dc8a2f 20-Sep-2000 Sascha Schumann

2nd Rewrite of the main scanner engine. This version is cleaner and faster.

It handles the following tags currently:

<FRAME .. SRC=URL ..>
<INPUT .. TYPE=IMAGE SRC=URL ..>
<

2nd Rewrite of the main scanner engine. This version is cleaner and faster.

It handles the following tags currently:

<FRAME .. SRC=URL ..>
<INPUT .. TYPE=IMAGE SRC=URL ..>
<A .. HREF=URL ..>
<AREA .. HREF=URL ..>
<IMG .. SRC=URL ..>

Additional ones can be added within seconds.

The support for HTML forms has been significantly improved. The scanner
will now add proper Hidden Fields for the Session ID.

show more ...


# cc53ad51 19-Sep-2000 Sascha Schumann

Reduce the amount of copying in the mainloop. We copy tag/arg only, if we
need to preserve them for a new loop iteration (after we leave mainloop).
Otherwise, we can just let them point to th

Reduce the amount of copying in the mainloop. We copy tag/arg only, if we
need to preserve them for a new loop iteration (after we leave mainloop).
Otherwise, we can just let them point to the work area.

show more ...


# dd59d148 19-Sep-2000 Sascha Schumann

Revert part of last commit. I'll refine it later.


# a7ef1966 19-Sep-2000 Sascha Schumann

Another speedup by avoiding string copies.

15% speed gain in test case (rewriting 1M URLs).


# 95ae21ff 19-Sep-2000 Sascha Schumann

Remove nextiter label


# 7f86b722 19-Sep-2000 Sascha Schumann

s/DEBUG/SCANNER_DEBUG/. "Convert" one macro to inline function to be more
consistent. Also use continue.


# 5b0ca158 19-Sep-2000 Zeev Suraski

Fix a few build bugs, still no go


# 4b3fb7b0 19-Sep-2000 Sascha Schumann

Add new URL scanner. This version is up to 20% faster. It will be
enabled by default once I'm sure that it works in every case.

To enable it, apply s/url_adapt_ext/url_adapt_ext_ex/ to s

Add new URL scanner. This version is up to 20% faster. It will be
enabled by default once I'm sure that it works in every case.

To enable it, apply s/url_adapt_ext/url_adapt_ext_ex/ to session.c

show more ...


1234567