5 ms·
This pattern still exists in C++ in the form of custom containers that implement "small array optimization". The LLVM project is a heavy user of this pattern as
by gmueckl 4y ago
This pattern still exists in C++ in the form of custom containers that implement "small array optimization". The LLVM project is a heavy user of this pattern as far as I know and I have seen it in several proprietary codebases.
- alpaca128 4y agoSame with Rust's smallvec crate.
- spacechild1 4y agoIt's also used in std::string (small string optimization).