Cargo Features
encoder-ryu has no features set by default.
[dependencies]
encoder-ryu = { version = "1.0.16", features = ["small", "no-panic"] }
- small
-
Use smaller lookup tables. Instead of storing every required power of 5, only store every 26th entry, and compute intermediate values with a
multiplication. This reduces the lookup table size by about 10x (only one case, and only f64) at the cost of some performance.