arrs-buffer 0.0.2

Zero-copy cache-aligned buffer implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! This crate implements a buffer interface for allocating memory and
//!  a buffer_ref interface for using shared zero copy slices of that memory.
//!
//! These interfaces are designed to be used in high performance applications where
//!  cacheline alignment, SIMD instructions and zero-copy is important.
mod buffer;
mod buffer_ref;
mod cold_load;

pub use buffer::Buffer;
pub use buffer_ref::BufferRef;
pub use cold_load::cold_copy;

/// Alignment of the Buffer memory
pub const ALIGNMENT: usize = 64;