Skip to content

Conversation

@trcrsired
Copy link
Member

This is NOT your project @MacroModel

First, it avoids the issue with end()+0 on an empty() deque which is
currently would dereference UB pointer.

Second, it should also help reduce cache misses since the + - etc would
move inside a block itself.

We will do it later on.
with fast path. also to test the performance of []
…row_back_common so that push_back/front and insert can share code
that shares with insert. all these useless garbage will be removed
after the container finishes
@trcrsired trcrsired merged commit 6eaf061 into cppfastio:next Feb 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant