summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>2003-01-21 00:44:20 +0000
committerhv <hv@crypt.org>2003-01-21 00:44:20 +0000
commit388cc4de5f48b02cc9fe9b962f02cf603af02178 (patch)
tree7a2fe4cc9c53651d71b5c5c269c407429ad6c6f7 /mg.c
parent40b8d195ef25e04da53075384ae3c1fd5b4b5876 (diff)
downloadperl-388cc4de5f48b02cc9fe9b962f02cf603af02178.tar.gz
integrate #18349 from maint-5.8:
At least partially address [perl #10000] by speeding up both the ASCII case (by about 2-3%) and the UTF-8 case (by about 45%). The major trick is to avoid hitting the costly S_reginclass(). (Even before this patch the speedup since 5.8.0 was about 40-50%.) After this the UTF-8 case is still about 30-60% slower than the ASCII case. (Note that I'm unable to reproduce the 10-fold speed difference of the original bug report; I can see a factor of 2 or 3, but no more.) p4raw-id: //depot/perl@18529 p4raw-integrated: from //depot/maint-5.8/perl@18528 'merge in' regexec.c (@18347..)
Diffstat (limited to 'mg.c')
0 files changed, 0 insertions, 0 deletions