diff options
author | Karl Williamson <public@khwilliamson.com> | 2014-01-24 11:42:19 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2014-01-27 11:07:18 -0700 |
commit | 3a8bbffbce67213008d5e0ad49bb873d08cbeee7 (patch) | |
tree | 43d3aece553f3ce2395b15514f6c7d1defa1a8da /mathoms.c | |
parent | 6c62bf0f1cb868c0614cc03720f3babf46da7e34 (diff) | |
download | perl-3a8bbffbce67213008d5e0ad49bb873d08cbeee7.tar.gz |
Avoid unnecessary malformed checking
regen/regcharclass.pl can create macros for use where we need to worry
about the possibility of malformed UTF-8, and for where we don't. In
the case of looking at regex patterns, the Perl core has complete
control over generating them, and hence isn't generally going to create
too short a buffer; if it does, it's a bug that will show up and get
fixed. This commit changes to generate and use the faster macros that
don't do bounds checking.
Diffstat (limited to 'mathoms.c')
0 files changed, 0 insertions, 0 deletions