This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
integrate #18349 from maint-5.8:
authorHugo van der Sanden <hv@crypt.org>
Tue, 21 Jan 2003 00:44:20 +0000 (00:44 +0000)
committerhv <hv@crypt.org>
Tue, 21 Jan 2003 00:44:20 +0000 (00:44 +0000)
commit388cc4de5f48b02cc9fe9b962f02cf603af02178
tree7a2fe4cc9c53651d71b5c5c269c407429ad6c6f7
parent40b8d195ef25e04da53075384ae3c1fd5b4b5876
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..)
regexec.c