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

improve parser speed even further #6

Open
rkeytacked opened this issue Jan 9, 2024 · 0 comments
Open

improve parser speed even further #6

rkeytacked opened this issue Jan 9, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@rkeytacked
Copy link
Member

The switch from 1.0.* (isbn-core) to 1.1.* (fast-isbn) already improved the parsing speed from >4M ops/s to >14M ops/s on the reference machine. Theoretically it should be possible to reduce the number of comparisons and table lookups in order to evaluate the correct hyphenation pattern and checksum validity.

A good trade-off between table sizes and lookups might be triples of digits (000 – 999) with lookup tables of size 1000.

@rkeytacked rkeytacked added the enhancement New feature or request label Jan 9, 2024
@rkeytacked rkeytacked added this to the 1.2. milestone Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant