Automatic (implicit) recycle of vectors when ref count goes to 0 instead of explicit. #2185
laithsakka
started this conversation in
Ideas
Replies: 1 comment
-
With the way we store our Memory pool etc, Does this help save only in vector construction costs or both ? Would we need to potentially resize the vectors/ clear null buffers etc ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The idea is to use a custom deleter that would re-construct a shared_ptr when we want to recycle a vector that is dying,
instead of having the users always explicitly ask to recycle vectors.
Beta Was this translation helpful? Give feedback.
All reactions