Skip to content

pbower/vec64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vec64

High-performance Rust vector type with automatic 64-byte SIMD alignment.

Requires nightly Rust.

Overview

Vec64<T> is a drop-in replacement for Vec<T> that guarantees the starting pointer is aligned to a 64-byte boundary, enabling optimal performance with SIMD instruction extensions like AVX-512.

Vec64 is the foundational buffer type behind Minarrow - a typed, high-performance columnar data library for Rust. If you're building data-intensive applications and want aligned buffers, automatic padding, parallel processing, and Arrow-compatible columnar structures out of the box, Minarrow has it for you.

Quick Start

[dependencies]
vec64 = "0.4"
use vec64::{Vec64, vec64};

let mut v = Vec64::new();
v.push(42);

let v = vec64![1, 2, 3, 4, 5];

let v = Vec64::from_slice(&[1, 2, 3]);

All standard Vec operations work as expected.

License

Apache-2.0

About

High-performance 64-Byte Aligned SIMD Vector

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages