arrs_buffer/
lib.rs

1//! This crate implements a buffer interface for allocating memory and
2//!  a buffer_ref interface for using shared zero copy slices of that memory.
3//!
4//! These interfaces are designed to be used in high performance applications where
5//!  cacheline alignment, SIMD instructions and zero-copy is important.
6mod buffer;
7mod buffer_ref;
8mod cold_load;
9
10pub use buffer::Buffer;
11pub use buffer_ref::BufferRef;
12pub use cold_load::cold_copy;
13
14/// Alignment of the Buffer memory
15pub const ALIGNMENT: usize = 64;