object-alloc

Crates.ioobject-alloc
lib.rsobject-alloc
version0.2.0
sourcesrc
created_at2017-09-03 01:29:20.860199
updated_at2019-06-05 04:19:00.818111
descriptionAn object allocator trait for Rust.
homepage
repositoryhttps://github.com/ezrosent/allocators-rs/tree/master/object-alloc
max_upload_size
id30334
size12,961
Joshua Liebow-Feeser (joshlf)

documentation

https://docs.rs/object-alloc

README

object-alloc

Crates.io Docs

Object allocators in Rust. This crate defines the ObjectAlloc trait and related types. An object allocator is an allocator which allocates and caches objects of a particular type, allowing for a number of performance improvements over general-purpose allocators that need to be able to service allocation requests of any size and alignment. Since all objects are of the same type, an object allocator can cache freed objects in a constructed state, and can thus allocate by re-using these cached objects. This allows object construction to be elided in certain circumstances, which can provide a further performance improvement.

This crate only defines types - it does not contain any implementations of the ObjectAlloc trait.

Commit count: 0

cargo fmt