This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Replace infamous if-else-if sequence by loop
authorKarl Williamson <public@khwilliamson.com>
Fri, 7 Dec 2012 18:50:25 +0000 (11:50 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sun, 9 Dec 2012 19:08:29 +0000 (12:08 -0700)
commit31c7f561ae1fcf5096c82b0ce7d0ab0dc6899204
tree4f7881d9a5cd33606c4f22dd9791994265d6916b
parent9cf78fa04cfee93425003b87b547dfa158d8fe9a
regexec.c: Replace infamous if-else-if sequence by loop

This saves 1.5 KB in the text section on my machine in regexec.o
(unoptimized) and 820 optimized.  I did not benchmark, as we don't
really care very much about performance under 'use locale'.
embed.fnc
embed.h
handy.h
proto.h
regexec.c