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

chore: Add IndexRange class #7701

Closed
wants to merge 1 commit into from

Conversation

mvorisek
Copy link
Contributor

@mvorisek mvorisek commented Jan 9, 2024

add proper data structrure for storing and passing start and end index pairs

the performance should be fine - https://3v4l.org/CMktE - average file have about 2k tokens, so the overhead per file should not be more than 0.5ms when assuming extreme case the RangeToken class used for every token once

@mvorisek mvorisek force-pushed the index_range_class branch 3 times, most recently from e9f6720 to 8b234c6 Compare January 9, 2024 11:22
@mvorisek
Copy link
Contributor Author

Closing at least until php/php-src#13100 is implemented.

@mvorisek mvorisek closed this Apr 22, 2024
@mvorisek mvorisek deleted the index_range_class branch April 22, 2024 21:46
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