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
{{ message }}
Repository navigation
[Type-Erasure] deque: deque_basic shadow class (#3244 Tier 3H) #3250
Mirror the fl::vector_basic / fl::flat_map_basic (#3239) / fl::unordered_map_basic (#3240) pattern for fl::deque<T>. Pull the ring-buffer arithmetic + storage management into a non-template fl::deque_basic shadow class parameterized by element size + element_ops table.
Reproduction (baseline)
bash bloat lpc845brk --example AutoResearch --top 30
# deque<char> for json + deque<u8> for parlio account for ~256 B on LPC845 today.
Acceptance
PR adds fl/stl/deque_basic.h + deque_basic.cpp.hpp (header + impl in unity build) following the established pattern.
fl::deque<T> becomes a thin templated wrapper that holds a deque_basic and an element_ops table.
Existing tests in tests/test_deque*.cpp pass unchanged.
Measured savings on LPC845-BRK / AutoResearch: ≥ 50 B net flash drop OR neutral (this is a future-proofing landing; ROI scales with future deque additions).
Activity
perf(deque): deque_basic ring-buffer + grow-policy helpers (#3250 / #…