Skip to content
/ arena64 Public

An arena allocator leveraging tagged pointers

License

Notifications You must be signed in to change notification settings

Bajix/arena64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arena64

License Cargo Documentation

Arena64 provides alternatives to Box that use pre-allocated storage while preserving the ability to convert into/from raw pointers.

Benchmark Results

Box Bump64 Arena64
64 967.87 ns (✅ 1.00x) 234.03 ns (🚀 4.14x faster) 333.00 ns (🚀 2.91x faster)
128 1.92 us (✅ 1.00x) 444.37 ns (🚀 4.32x faster) 646.06 ns (🚀 2.97x faster)
256 3.81 us (✅ 1.00x) 848.89 ns (🚀 4.49x faster) 1.30 us (🚀 2.94x faster)
512 7.69 us (✅ 1.00x) 1.64 us (🚀 4.69x faster) 2.57 us (🚀 2.99x faster)
1024 15.23 us (✅ 1.00x) 3.24 us (🚀 4.70x faster) 5.06 us (🚀 3.01x faster)
2048 30.43 us (✅ 1.00x) 6.45 us (🚀 4.72x faster) 9.93 us (🚀 3.06x faster)

About

An arena allocator leveraging tagged pointers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages