regcomp.c: Prefer ANYOF/NANYOFM regnodes
authorKarl Williamson <khw@cpan.org>
Wed, 21 Nov 2018 05:22:56 +0000 (22:22 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 26 Dec 2018 19:50:37 +0000 (12:50 -0700)
commit1c058237dd6e2d15f88483f3fc66e4e584c262b8
tree6873570da6cc33967431bf6297a005402b2ff6b0
parenteb055bf0f4aa39363f10d941305f5dc9c3cdbc53
regcomp.c: Prefer ANYOF/NANYOFM regnodes

These two regnodes are faster than regular /[[:posix:]]/ ones, and some
of the latter are equivalent to some of the former.  So try the faster
optimizations first.

This commit just swaps the two blocks of code, and outdents
appropriately
regcomp.c