Customized allocator for containers #7
Labels
refract
Refactoring that won't be done in the near future
Content-Length: 214506 | pFad | http://github.com/rickyyx/ParNVM/issues/7
ACFetched URL: http://github.com/rickyyx/ParNVM/issues/7
Alternative Proxies:
Customized allocator for standard collections This will be a rather exciting feature for us if it can land.
Use case
A std lib's data structure can then obtain a memory pointer from the persistent memory allocator directly, For example, a Persistent Box
PBox
can be a wrapper overBox<T, A=PersistentAlloc>
This will make the library much more coherent with the standard library.In addition,
PBox
will have interface that allows controlled persistence methods: such asflush
andpersist
, or evenlog
.Even better with GAT #3 feature, transaction can be generics as well.
Tracking issue
The text was updated successfully, but these errors were encountered: