nolock 0.4.1

A collection of Lock-Free Datastructures
Documentation
use nolock::allocator::lrmalloc;

#[global_allocator]
static ALLOCATOR: lrmalloc::Allocator = lrmalloc::Allocator::new();

fn main() {
    let test: Box<[u8; 20000]> = Box::new([0; 20000]);
    drop(test);

    let box_collection: Vec<_> = (0..63).map(|index| Box::new(index)).collect();
    println!("First: {:?}", box_collection);
    drop(box_collection);

    let box_collection: Vec<_> = (0..63).map(|index| Box::new(index)).collect();
    println!("Second: {:?}", box_collection);
    drop(box_collection);

    let test = Box::new(0_u16);

    drop(test);
}