1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#![feature(allocator_api)]
#![feature(arc_counts)]
#![deny(missing_docs)]
#![allow(unknown_lints)]

//! `VeryFast` is a collection of useful tools needed mostly by game developers.
//! It is designed to work well in multi threaded contexts.
//!
//! At the moment it supplies one useful class - `pool::Pool`, which allocates objects on the heap
//! like a `Box`, but allocates in batches and reuses the memory instead of deallocating
//! when Dropped!
//!
//! ## Nightly Requirements:
//! Nightly is required because of the next features:
//!
//! - `#![feature(allocator_api)]`: Custom allocation strategy for `Pool`


extern crate crossbeam;

pub mod pool;
pub mod small_buffer;

// mod tiny_buffer;

// possible future crates
//
// scoped_threadpool = "*"
// num_cpus = "*"
// futures = { git = "https://github.com/alexcrichton/futures-rs" }