projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
279aec2
)
charnames: "Add 'use re "/aa"'
author
Karl Williamson
<public@khwilliamson.com>
Sat, 1 Oct 2011 16:29:56 +0000
(10:29 -0600)
committer
Karl Williamson
<public@khwilliamson.com>
Wed, 14 Dec 2011 17:56:56 +0000
(10:56 -0700)
This should add a slight performance improvement, and is usable since
all names are ASCII
lib/charnames.pm
patch
|
blob
|
history
diff --git
a/lib/charnames.pm
b/lib/charnames.pm
index
ffc84db
..
682f8b7
100644
(file)
--- a/
lib/charnames.pm
+++ b/
lib/charnames.pm
@@
-2,10
+2,11
@@
package charnames;
use strict;
use warnings;
use File::Spec;
-our $VERSION = '1.2
5
';
+our $VERSION = '1.2
6
';
use unicore::Name; # mktables-generated algorithmically-defined names
use bytes (); # for $bytes::hint_bits
+use re "/aa"; # Everything in here should be ASCII
# Translate between Unicode character names and their code points.
#