andylokandy / smallbox
Small Box optimization: store small item on stack and fallback to heap for large item.
☆77Updated 3 weeks ago
Alternatives and similar repositories for smallbox:
Users that are interested in smallbox are comparing it to the libraries listed below
- Concatenate identifiers in a macro invocation☆93Updated 2 years ago
- A circular buffer with fixed capacity (Rust).☆104Updated last year
- Machine scalar casting that meets your expectations☆74Updated 3 years ago
- Spawn processes with arbitrary closures in rust☆109Updated 3 years ago
- Intended to allow taking a T from a &mut T temporarily☆77Updated 5 years ago
- Synchronization primitives for Futures and async/await based on intrusive collections☆176Updated 9 months ago
- A sentinel-based, heapless, `Vec`-like type.☆68Updated 4 years ago
- ☆123Updated 2 years ago
- Utilities for pinning☆97Updated 9 months ago
- Dynamically query a type-erased object for any trait implementation☆65Updated 2 years ago
- ☆52Updated 5 years ago
- Convert closures into wakers☆45Updated 2 months ago
- Typed index version of Rust slice and Vec containers☆68Updated 3 months ago
- ☆55Updated last year
- An implementation of the `group_by` Haskell function for slice and strings☆53Updated last year
- An owned, grow-able UTF-8 string that stores small strings inline and avoids heap-allocation.☆68Updated 3 years ago
- home for proposals in and around compile-time function evaluation☆107Updated last year
- Make trait methods callable without the trait in scope☆135Updated 2 months ago
- A procedural attribute macro to automatically cache the results of a function call with given args.☆64Updated 5 years ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆155Updated 3 weeks ago
- ☆65Updated 3 years ago
- Safe wrapper for initializing arrays☆72Updated 2 years ago
- Ultra fast binary serialization and deserialization for types with a constant size (known at compile time).☆105Updated last year
- Safe pointer-to-member functionality for rust☆33Updated 7 months ago
- Safely combine results☆81Updated 4 months ago
- A `#[safe]` attribute for explaining why `unsafe { ... }` is OK.☆81Updated 5 years ago
- Automatic cfg for Rust compiler features☆95Updated 3 months ago
- Write doc comments from macros☆99Updated 3 years ago
- docs.rs as a publishing platform?☆66Updated 6 months ago
- A Rust library for generically joining iterables with a separator☆91Updated last year