Registry / utility / fastdivide

fastdivide

JSON →
library0.4.2rscratesunverified

Fastdivide is a partial port of libdivide, reducing the cost of integer divisions.

# Cargo.toml [dependencies] fastdivide = "0.4.2"
INSTALL
IMPORT
SIG · FASTDIVIDE
F
fastdivide
utilityrustv0.4.2
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.

DividerU64
use fastdivide::DividerU64;

Use a divider to perform fast division.

use fastdivide::DividerU64; let divider = DividerU64::new(10); let result = divider.divide(100); assert_eq!(result, 10);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
fastdivide — cargo add fastdivide · libregistry