Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing speedups #45

Merged
merged 2 commits into from Feb 13, 2013
Merged

Parsing speedups #45

merged 2 commits into from Feb 13, 2013

Conversation

ilmari
Copy link
Contributor

@ilmari ilmari commented Jan 23, 2013

I've been profiling the core installman script, which turns out to be mostly Pod-Simple and Pod-Man. For starters, here are a few quick optimisations that don't impact readability much. The changes reduce the time spent in Pod::Simple by 15-20% and the overall runtime of installman by about 5%

https://rt.perl.org/rt3/Public/Bug/Display.html?id=116485

This is called for every line we parse, so each µs counts.
No need to look it up every time, since the encoding is fixed.
theory added a commit that referenced this pull request Feb 13, 2013
@theory theory merged commit 5089872 into perl-pod:master Feb 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants