diff options
author | Gustavo Lopes <glopes@nebm.ist.utl.pt> | 2013-01-07 03:13:11 +0100 |
---|---|---|
committer | Gustavo Lopes <gustavo@icemobile.com> | 2013-01-14 12:22:41 +0100 |
commit | ccf15cf2dc92d11f92ee30c97e2d86b07f81e030 (patch) | |
tree | 0ac45c524a94341a161419f0cd86099eb0ad1dff /ext/mysql/php_mysql_structs.h | |
parent | 1a96fe0b3260b4b63627cf69d71a5b350ad3163f (diff) | |
download | php-git-ccf15cf2dc92d11f92ee30c97e2d86b07f81e030.tar.gz |
Optimize strtr w/ 2nd arg array
Fixes bug #63893: poor efficiency of strtr() using array with keys of
very different length.
The implementation is basically all new, which carries some risk with
it.
The algorithm is described in "A Fast Algorithm For Multi-Pattern
Searching" (1994) by Sun Wu and Udi Manber.
Diffstat (limited to 'ext/mysql/php_mysql_structs.h')
0 files changed, 0 insertions, 0 deletions