diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-05-20 07:55:51 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-05-22 08:24:21 -0600 |
commit | c2da0b36ccf7393a329af732fac4153ddf6ab42e (patch) | |
tree | 59592eed7490ff80600fbe7eb7171af58487ed0d /regen | |
parent | a027039367d8b0d7e425d682b287cef406d072e2 (diff) | |
download | perl-c2da0b36ccf7393a329af732fac4153ddf6ab42e.tar.gz |
handy.h: New defn of isOCTAL_A() to free up bit
The new definition is likely slightly faster, as it replaces an array
lookup with a mask.
Comments are also added, listing the other possible candidates for this
treatment, though the speed differential is unclear as they would also
add an extra test.
A U32 is used to store the information about the various properties for
a character. This frees up one bit of that for future other use.
Diffstat (limited to 'regen')
-rw-r--r-- | regen/mk_PL_charclass.pl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/regen/mk_PL_charclass.pl b/regen/mk_PL_charclass.pl index 4554c3bd53..5a3dbbe1f3 100644 --- a/regen/mk_PL_charclass.pl +++ b/regen/mk_PL_charclass.pl @@ -38,7 +38,6 @@ my @properties = qw( IDFIRST_L1 LOWER_A LOWER_L1 - OCTAL_A PRINT_A PRINT_L1 PSXSPC_A |