andylokandy / smallbox
Small Box optimization: store small item on stack and fallback to heap for large item.
☆78Updated last month
Alternatives and similar repositories for smallbox:
Users that are interested in smallbox are comparing it to the libraries listed below
- A circular buffer with fixed capacity (Rust).☆104Updated last year
- Machine scalar casting that meets your expectations☆74Updated 3 years ago
- Concatenate identifiers in a macro invocation☆93Updated 2 years ago
- ☆52Updated 5 years ago
- Synchronization primitives for Futures and async/await based on intrusive collections☆176Updated 10 months ago
- Type-safe transmutations between layout-compatible types.☆121Updated 4 years ago
- Safe pointer-to-member functionality for rust☆33Updated 8 months ago
- Dynamically query a type-erased object for any trait implementation☆65Updated 2 years ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆156Updated last month
- Spawn processes with arbitrary closures in rust☆109Updated 3 years ago
- Utilities for pinning☆97Updated 10 months ago
- Ultra fast binary serialization and deserialization for types with a constant size (known at compile time).☆106Updated last year
- docs.rs as a publishing platform?☆68Updated 3 weeks ago
- Typed index version of Rust slice and Vec containers☆68Updated 4 months ago
- Intended to allow taking a T from a &mut T temporarily☆78Updated 5 years ago
- An implementation of the `group_by` Haskell function for slice and strings☆53Updated last year
- Rust serializer library☆87Updated 9 months ago
- Time and duration crate optimized for speed and API stability.☆67Updated last month
- Automatic cfg for Rust compiler features☆95Updated 4 months ago
- Async tracing capabilities for the log crate☆99Updated 4 years ago
- Generic Atomic<T> type for Rust☆226Updated last year
- A trivial Rust struct for interchange of pixel buffers with width, height & stride☆61Updated 4 months ago
- A collection of small utilities for working with pointer types in Rust.☆119Updated last month
- Runtime string formatting for Rust☆63Updated 5 years ago
- Run closures in parallel☆112Updated last month
- Stack-allocated DSTs for rust (fixed capacity)☆48Updated 11 months ago
- Safe wrapper for initializing arrays☆73Updated 2 years ago
- A procedural attribute macro to automatically cache the results of a function call with given args.☆64Updated 5 years ago
- Generic and convenient `std` atomics via `Atomic<T>`☆46Updated 4 months ago
- An owned, grow-able UTF-8 string that stores small strings inline and avoids heap-allocation.☆68Updated 3 years ago