allocators icon indicating copy to clipboard operation
allocators copied to clipboard

A collection of custom allocators

Results 5 allocators issues
Sort by recently updated
recently updated
newest added

Reference counted allocations could be very useful. This should be fairly simple to implement just by porting the standard library's implementations. Arc should only be allowed where the allocator is...

Using a constant could be finicky with block lifetimes, which is why I've opted to use a constructor for now. Since the `empty()` constructor always returns the same value, I...

this should lead to more highly-optimized code.

Having the ability to allocate singular values is nice, but for users to get optimal use of allocators, they will undoubtedly want to have at the very least a `Vec`,...

Sending allocators across thread boundaries is extremely useful. However, since most allocators are designed to have a reference to a parent allocator, `Send` for them requires that their parent is...