Files
oak-gpui/crates
Michael Sloan aa4c438f83 Use Vec for KeyContext instead of SmallVec (#24916)
In Zed the key context almost always has more than 1 entry, so use of
`SmallVec` is just adding overhead.

In Zed while using the editor this typically has more than 8 entries.
Since `ContextEntry` is 48 bytes, if this were made to be a
`SmallVec<[ContextEntry; 10]>` then it would use 480 bytes on the stack,
which to me seems like a lot to be copying. So, instead opting to just
use `Vec`

Release Notes:

- N/A
2025-02-17 12:43:28 -07:00
..
2025-01-27 13:40:59 -05:00
2025-02-14 14:04:32 -07:00
2025-02-14 14:04:32 -07:00
2025-02-14 14:04:32 -07:00