diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-09-05 20:56:09 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-09-13 21:14:04 -0600 |
commit | 4d6461409e812aecb1fa745debb6132ce8e5612d (patch) | |
tree | 233a2c093d46c73bc151240415219e0e7ed41b11 /README.haiku | |
parent | ae1d4929d23a3d6949518058aa41cd90a700a4af (diff) | |
download | perl-4d6461409e812aecb1fa745debb6132ce8e5612d.tar.gz |
utf8.h: Use machine generated IS_UTF8_CHAR()
This takes the output of regen/regcharclass.pl for all the 1-4 byte
UTF8-representations of Unicode code points, and replaces the current
hand-rolled definition there. It does this only for ASCII platforms,
leaving EBCDIC to be machine generated when run on such a platform.
I would rather have both versions to be regenerated each time it is
needed to save an EBCDIC dependency, but it takes more than 10 minutes
on my computer to process the 2 billion code points that have to be
checked for on ASCII platforms, and currently t/porting/regen.t runs
this program every times; and that slow down would be unacceptable. If
this is ever run under EBCDIC, the macro should be machine computed
(very slowly). So, even though there is an EBCDIC dependency, it has
essentially been solved.
Diffstat (limited to 'README.haiku')
0 files changed, 0 insertions, 0 deletions