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

refactor(util): use parse_integer from simdjson #1202

Closed
wants to merge 1 commit into from

Conversation

msharipov
Copy link
Contributor

simdjson provides functions for parsing decimal integers that should run faster than manually coded equivalent. Changed parse_integer_exact to use the parse_integer function from simdjson. Due to inconsistencies between what simdjson and the original implementation consider to be an error, some pre-emptive checks are run on the input string to avoid false positives/negatives. closes #915

simdjson provides functions for parsing decimal integers that
should run faster than manually coded equivalent. Changed
parse_integer_exact to use the parse_integer function from
simdjson. Due to inconsistencies between what simdjson and
the original implementation consider to be an error, some
pre-emptive checks are run on the input string to avoid false
positives/negatives.
Copy link

github-actions bot commented Feb 20, 2024

CLA Assistant Lite bot Thank you for your contribution! Like many free software projects, you must sign our Contributor License Agreement before we can accept your contribution.

EDIT: All contributors have signed quick-lint-js' Contributor License Agreement (CLA-v1.md).

@msharipov
Copy link
Contributor Author

I have read and hereby agree to quick-lint-js' Contributor License Agreement (CLA-v1.md).

@msharipov
Copy link
Contributor Author

recheck

@strager
Copy link
Collaborator

strager commented Feb 22, 2024

As I wrote in the GitHub issue (#915), I don't think reusing simdjson makes sense for us. I am therefore won't merge your changes and am closing this pull request.

@strager strager closed this Feb 22, 2024
@msharipov msharipov deleted the feature branch February 22, 2024 21:58
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.

5$: refactor: Reuse simdjson's number parsing in quick-lint-js
2 participants