Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information