develooper Front page | perl.perl5.porters | Postings from March 2018

[perl #132800] lib/unicore/mktables takes too long

From:
Tony Cook via RT
Date:
March 8, 2018 00:05
Subject:
[perl #132800] lib/unicore/mktables takes too long
Message ID:
rt-4.0.24-15658-1520467520-1460.132800-15-0@perl.org
On Thu, 01 Feb 2018 21:37:27 -0800, public@khwilliamson.com wrote:
> I also haven't anecdotally noticed any marked decrease in speed.

I tried running it under NYTProf.

I managed to find a roughly 10% speed up by re-implementing get_invalid_code_point() to avoid inverting the range list each time.

You can see the profile results after that change at:

http://files.develop-help.com/nytprof/index.html

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=132800



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About