diff options
author | zufuliu <zufuliu@gmail.com> | 2018-01-13 17:12:57 +0800 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-02-22 15:59:24 +0100 |
commit | bff179888f6d247c3584150f0c729634b95c745b (patch) | |
tree | 8a3f36a478ae7ba04645500e5adf2cbd3d578480 /ext/json/json.c | |
parent | 6fb9e24218148628bc5e6fe474644638db49b584 (diff) | |
download | php-git-bff179888f6d247c3584150f0c729634b95c745b.tar.gz |
Improve similar_text(), reduce recursive call to php_similar_char()
If the longest common substring is the leftmost common substring, there
is no need to check the string prefixes for further common substrings,
since there are none.
Diffstat (limited to 'ext/json/json.c')
0 files changed, 0 insertions, 0 deletions