develooper Front page | perl.perl5.porters | Postings from May 2010

[perl #75018] PATCH: improve mktables performance; add option useful for development

karl williamson
May 11, 2010 06:56
[perl #75018] PATCH: improve mktables performance; add option useful for development
Message ID:
# New Ticket Created by  karl williamson 
# Please include the string:  [perl #75018]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This series of patches improves the performance of mktables by
  1) using in-line the no overloading scheme to get a variable's address 
that was suggested by Nicholas and used earlier in a called subroutine

  2) not generating several tables that are most likely going to be 
thrown away (unless they aren't going to be thrown away, determined by 
changing some lists in the code).  These tables are used in the 
construction of other tables.  Prior to this patch, they were generated 
in case they were to be written out, and then the data in them copied to 
initialize the other tables.  Now, the other tables get the data 
directly, and the copy isn't generally needed.

Also, a new command line option is added to cause the tables that are 
written to have each line have the character name it is for.  This is 
slow and generates large tables without ranges, but it is useful during 
development to manually generate tables which can be compared with other 
ones, so you can eyeball the differences between two different 
properties, or between two releases of Unicode for the same property. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About