Registry / utility / crunchy

crunchy

JSON →
library0.2.4rscratesunverified

Crunchy unroller: deterministically unroll constant loops at compile time for performance.

# Cargo.toml [dependencies] crunchy = "0.2.4"
INSTALL
IMPORT
SIG · CRUNCHY
C
crunchy
utilityrustv0.2.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

unroll
use crunchy::unroll;

Example of unrolling a constant loop using the unroll! macro.

use crunchy::unroll; fn main() { unroll! { for i in 0..4 { println!("Iteration {}", i); } } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources