Commit Graph

3 Commits

Author SHA1 Message Date
Ion Gaztañaga
8ed60bcbe1 Protect CTAD from old clang compilers that suffer from ICE 2026-02-03 15:50:39 +01:00
Ion Gaztañaga
f483482d7c Optimize segmented_vector:
- Add option to deque_impl to optimize a "single-ended" version.
- If single_ended, start offset is not stored as member and is assumed to be zero.
- Members with cases for front insertion are modified to avoid those branches.
- If single_ended, only a free slot at the back on the index is needed instead of 2 (front and back)
2026-02-03 02:09:50 +01:00
Ion Gaztañaga
56268e7a18 Add experimental "segmented_vector" container, which is a single-ended version of deque. First implementation is suboptimal. 2026-02-02 12:59:07 +01:00