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: correct index calculations for large patch sets #907

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

alexjg
Copy link
Collaborator

@alexjg alexjg commented Apr 22, 2024

Problem: when a change produced large numbers of patches (more than 100) some patches could end up with incorrect indexes. The reason for this was that the optimization which kicks in at > 100 patches which precalculates the paths for every visible object in the document was using the wrong encoding for calculating the indexes in lists.

Solution: use the correct encoding.

Problem: when a change produced large numbers of patches (more than 100)
some patches could end up with incorrect indexes. The reason for this
was that the optimization which kicks in at > 100 patches which
precalculates the paths for every visible object in the document was
using the wrong encoding for calculating the indexes in lists.

Solution: use the correct encoding.
@alexjg alexjg merged commit ac01930 into main Apr 22, 2024
11 checks passed
@alexjg alexjg deleted the fix-visible-paths-optimization branch April 22, 2024 22:36
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