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

fix(Prefetch): cache iterator to avoid precision issues #6899

Merged
merged 3 commits into from
Jun 25, 2024

Conversation

tykus160
Copy link
Member

Starts caching SegmentIterator in SegmentPrefetch to avoid creating new one on every update. Previous behavior was more time-consuming & could cause issues on platforms with precision problems, like Xbox.

@avelad avelad added type: bug Something isn't working correctly priority: P2 Smaller impact or easy workaround labels Jun 24, 2024
@avelad avelad added this to the v4.10 milestone Jun 24, 2024
@shaka-bot
Copy link
Collaborator

shaka-bot commented Jun 24, 2024

Incremental code coverage: 85.19%

@avelad avelad merged commit b5f1ee9 into shaka-project:main Jun 25, 2024
14 of 15 checks passed
avelad pushed a commit that referenced this pull request Jun 25, 2024
Starts caching `SegmentIterator` in `SegmentPrefetch` to avoid creating
new one on every update. Previous behavior was more time-consuming &
could cause issues on platforms with precision problems, like Xbox.
avelad pushed a commit that referenced this pull request Jun 25, 2024
avelad pushed a commit that referenced this pull request Jun 25, 2024
@tykus160 tykus160 deleted the wt-prefetch-iterator branch June 27, 2024 09:37
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Aug 24, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Aug 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants