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 -default-mouse-move-global efficiency #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bsless
Copy link
Contributor

@bsless bsless commented Feb 21, 2023

Instead of bashing on the same vector with into and going through laziness, this refactor uses into's transducer arity to allocate only a single vector per call

Instead of bashing on the same vector with into and going through
laziness, this refactor uses into's transducer arity to allocate only a
single vector per call
@bsless
Copy link
Contributor Author

bsless commented Feb 21, 2023

Another possible level of optimization is returning an Eduction and calling (into [] ,,,) in mouse-move-global

@phronmophobic
Copy link
Owner

Yep, this seems better. I'll test it out and try to get it into the next release. Thanks!

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.

2 participants