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

perf: use stream-based iterators where possible #135

Merged
merged 1 commit into from
Jul 2, 2023
Merged

Conversation

willothy
Copy link
Owner

@willothy willothy commented Jul 1, 2023

There's a lot of iteration involved in the rendering process, and a lot of it can be streamlined using iterators. This PR implements basic iterators and uses them where possible.

Ideally we would use vim.iter, but that would break compatibility with older neovim versions.

@willothy willothy added this to the Release: 0.4.0 milestone Jul 2, 2023
@willothy willothy force-pushed the iter-perf branch 3 times, most recently from f5c16f8 to c3fb9df Compare July 2, 2023 18:00
build: added plenary.nvim as a required dependency
refactor: add missing dependency notice
@willothy willothy merged commit 8b877a9 into main Jul 2, 2023
@willothy willothy deleted the iter-perf branch July 2, 2023 18:10
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.

1 participant