Performance improvement?
See original GitHub issueI am not certain of this, but I suspect there might be room for performance improvement by using re.compile
to precompile all of the needed regexs. Otherwise they will have to be compiled regularly (once the re
cache of 100 has been exceeded)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
What is Performance Improvement?
Performance improvement is a strategy under the umbrella of performance management that helps employees achieve better performance and growth.
Read more >Performance improvement
Performance improvement is measuring the output of a particular business process or procedure, then modifying the process or procedure to increase the ...
Read more >Why Performance Improvement Is Essential | ATD
Performance improvement, defined in the study as the systemic process of identifying the root causes of a performance issue in an organization ...
Read more >Performance Improvement
Our Performance Improvement practice equips you to grow earnings and outperform the competition.
Read more >How to Establish a Performance Improvement Plan
A performance improvement plan (PIP), also known as a performance action plan, is a tool to give an employee with performance deficiencies the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think that if there are more than 100 regexs (including any that are in loops like here: https://github.com/nipunsadvilkar/pySBD/blob/a2bb4510e65b1fd6c37e2162005076db0e984fb0/pysbd/abbreviation_replacer.py#L62) the cache will cycle, and regexs will have to be recompiled. Given that the number of ABBREVIATIONS alone is 188, I suspect that the cache is cycling.
Fixed #71