A deep dive into SmallVector::push_back
Summary
A technical deep-dive into LLVM's SmallVector::push_back optimization, analyzing fast-path vs. slow-path behavior, shrink-wrap limitations, and tail-calling strategies. The article includes cross-library comparisons (std::vector, Boost, absl) and concrete results on code size and instruction counts.