Benchmark 2 decimal crates in floating-point vs fixed-point
⚓ Rust 📅 2026-02-06 👤 surdeus 👁️ 7I benchmarked 2 decimal crates: rust_decimal and primitive_fixed_point_decimal. The benchmark results are listed below, along with an analysis of the possible reasons for their performance differences.
rust_decimal is currently the most popular decimal crate. It is floating-point.
I developed this crate primitive_fixed_point_decimal for a previous project where I needed a fixed-point decimal implementation.
Floating-point versus fixed-point is the fundamental difference between these 2 crates.
See Benchmark Document.
1 post - 1 participant
🏷️ Rust_feed