Skip to content

Commit ded143c

Browse files
committed
Add question regarding storage removal for empty vectors in README
1 parent c8778be commit ded143c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- Should we ever shrink vectors?
1010
- Should we have size and capacity inline or in the storage header?
1111
- Should we have a small inline buffer for a couple of elements?
12+
- When storing the size and capacity out of line, should we always remove the storage iff the vector is empty so that `empty()` checks can be a simple nullptr check for the storage without the need for dereferencing the out of line buffer?
1213

1314
Implement basis operations, provide the rest through concept extensions
1415

0 commit comments

Comments
 (0)