orengine-utils
This repository provides utilities for building high-performance applications.
hints— compiler hints that affect how code is emitted or optimized.backoff— includes theBackoffstructure for implementing retry/backoff strategies.cache_padded— Thecache_padded moduleprovides cache-padded atomics types and theCachePaddedwrapper.light_arc— provides theLightArctype, a lightweight reference-counted smart pointer.instant— provides theOrengineInstanttype for efficient time handling and compact time representation. It is unavalible with theno_stdfeature.array_queue— provides theArrayQueuetype, an array-based queue implementation.vec_queue— provides theVecQueuetype, a vector-based queue implementation.numa— provides sufficient utilities for working with NUMA nodes.treap— provides theTreaptype, a randomized BST with subtree-augmented filtering for efficient filtered min/max queries.cheap_random— provides fast non-cryptographic xorshift PRNGs foru32andu64, both stateful and thread-local. Thread-local variants are unavailable with theno_stdfeature.config_macro— provides theconfig_target_pointer_width_64,config_target_pointer_width_32, andconfig_target_pointer_width_16macros, which are used to right compile the program based on the target platform.rw_serde— provides theSerializerandDeserializertypes, which are used to serialize and deserialize values directly to and from any type implementing [std::io::Write] and [std::io::Read].small_string— provides theSmallStringtype, a string type that can store small strings on the stack.varint— provides theVarinttype, a variable-length integer encoding for efficient serialization.
no-std
It provides the no_std feature, that makes it use core and alloc crates instead of std.
With this feature, this crate provides almost all the functionality. It excludes the instant and rw_serde modules.