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

refactor(textinput): reduce allocations #413

Merged
merged 1 commit into from
Jan 8, 2024

Commits on Aug 30, 2023

  1. refactor(textinput): reduce allocations

    As the number of items in `suggestions` and `m.suggestions` is known,
    we can use `make` with the expected size instead of appending, which
    requires more allocations as the slice grows.
    naglis committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    54a9360 View commit details
    Browse the repository at this point in the history