1 unstable release
0.1.0 | Dec 28, 2024 |
---|
#328 in Memory management
17KB
static initializer
Blazingly fast statics!
lib.rs
:
Global non-lazy zero-cost statics without const fn
.
Useful for static values that cannot be initialized through const fn
but cannot incur the memory & performance cost of a std::sync::LazyLock
.
- See
static_init!
no_std
support
this crate is no_std
.
Dependencies
~180–600KB
~14K SLoC