This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Unicode::UCD::prop_invmap(): Return deltas for the 'dm' property
authorKarl Williamson <public@khwilliamson.com>
Sun, 29 Jan 2012 00:39:10 +0000 (17:39 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sat, 4 Feb 2012 23:29:32 +0000 (16:29 -0700)
commitbea2c146352c47a938243d84d1a4fa99f7a328bb
tree989b074c648dbd41cc21cfb20b5067f1068b6656
parenta9d188b3497f7a6fe7fe9b203df96d3017dda4a4
Unicode::UCD::prop_invmap(): Return deltas for the 'dm' property

Earlier commits caused the return of prop_invmap() for certain
properties to return deltas from code points instead of the code points
themselves, for compactness of storage and speed of searching.  This
causes the same for the 'dm' property, for consistency with the others,
even though the space savings is not large for this one; essentially the
same code can be used for the two types now; instead of an application
having to have special cases.
lib/Unicode/UCD.pm
lib/Unicode/UCD.t