-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It may be possible to use an atomic counter to track how many copies of an IStr currently exist, allowing the interner to recover memory when all copies have been dropped.
- Would have to remove
Copy, sinceCloneimpl would increment said counter. - Would have to change
IStr::as_strandIStr::as_c_strmethods to return non-'staticreferences, since they could no-longer out-live theIStr(without some other way to first permanently-leak it)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request