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 /ext/PerlIO-encoding | |
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 'ext/PerlIO-encoding')
0 files changed, 0 insertions, 0 deletions