This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
handy.h: New defn of isOCTAL_A() to free up bit
authorKarl Williamson <public@khwilliamson.com>
Sun, 20 May 2012 13:55:51 +0000 (07:55 -0600)
committerKarl Williamson <public@khwilliamson.com>
Tue, 22 May 2012 14:24:21 +0000 (08:24 -0600)
commitc2da0b36ccf7393a329af732fac4153ddf6ab42e
tree59592eed7490ff80600fbe7eb7171af58487ed0d
parenta027039367d8b0d7e425d682b287cef406d072e2
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.
handy.h
l1_char_class_tab.h
regen/mk_PL_charclass.pl