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 rgrav-adjustments #852

Merged
merged 3 commits into from
May 25, 2023
Merged

Improve rgrav-adjustments #852

merged 3 commits into from
May 25, 2023

Conversation

L3MON4D3
Copy link
Owner

The previous implementation was a bit messy, this is much more focused and faster.

Needs some more tests, to make sure everything is actually working consistently.

@L3MON4D3
Copy link
Owner Author

(tests fail due to neovim/neovim#23734, will just wait for the upstream-fix, and not modify tests for this)

Both performance-wise, by eliding many, many adjustments, and
implementation-wise.

For example, as soon as a parent does not share an endpoint with the
node we want to focus, we don't have to touch its rgravs, since they can
only be pushed away from the inserted text, no matter their gravity.
@L3MON4D3 L3MON4D3 merged commit 274438d into master May 25, 2023
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.

Bad performance in deep nested dynamic nodes
1 participant