Crate arrs_buffer

source ·
Expand description

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.

Structs

  • Buffer is a mutable byte container that is aligned to crate::ALIGNMENT bytes, and has a padding so the size of the underlying allocation is a multiple of crate::ALIGNMENT.
  • An immutable reference to a buffer. Can be used for shared zero copy views into a single buffer.

Constants

Functions