Cargo Features
ryu-ecmascript has no features set by default.
[dependencies]
ryu-ecmascript = { version = "0.1.1", 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.