[core] Adopt `absl::InlinedVector` for small, frequently-allocated collections
#59884 · Python · ★ 44k · Apache-2.0 · updated 3d ago
We should use absl::InlinedVector for vectors that typically have a small number of elements. This avoids heap allocation for the common case while gracefully handling larger collections. Currently, we have 2k+ uses of std::vector but only 4 uses of absl::InlinedVector in…
4/5 outside PRs mergedpoints at a filesomeone tried before8 comments — busy
Cleared 3m ago