You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
automata: call Vec::shrink_to_fit in a few strategic places
Other parts of `regex-automata` do this implicitly by using `Box<[T]>`,
btu it's not always straight-forward to use `Box<[T]>`. (Or, at least,
non-annoying.) In some of those cases here, we call `Vec::shrink_to_fit`
to decrease memory usage.
These are probably the biggest offenders, but I didn't do a thorough
investigation here.
Fixes#1297
0 commit comments