summaryrefslogtreecommitdiff
path: root/ext/json/json.c
diff options
context:
space:
mode:
authorzufuliu <zufuliu@gmail.com>2018-01-13 17:12:57 +0800
committerChristoph M. Becker <cmbecker69@gmx.de>2018-02-22 15:59:24 +0100
commitbff179888f6d247c3584150f0c729634b95c745b (patch)
tree8a3f36a478ae7ba04645500e5adf2cbd3d578480 /ext/json/json.c
parent6fb9e24218148628bc5e6fe474644638db49b584 (diff)
downloadphp-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