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

Optimization when converting numbers #115

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Codain
Copy link

@Codain Codain commented May 16, 2023

In both French and English, the following pull request is reducing by around 20% the time needed to convert numbers. This number has been computed when comparing conversion time for a large set of numbers (10000). The trick is to not use regexes when not required. There is also potentially an improvement when loading the SOR file but I did not measure since it is not something expected to be done often.

Also, the declaration of a method was not consistent, it has been fixed.

Thanks for your review.

@Codain
Copy link
Author

Codain commented Apr 25, 2024

@laszlonemeth , any chance you could have a look at this pull request?

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

1 participant