The decimal benchmark that exposes a hidden cost: parse

201 · Users Rust Lang · May 25, 2026, 4:49 a.m.
Summary
The blog post discusses the performance of different Rust decimal libraries, focusing on a no_std fixed-point decimal library called ancdec. It highlights how fixed_num performs well in scalar operations but suffers significantly in parsing speed, ultimately leading to poorer end-to-end performance when handling decimal inputs and outputs. The author emphasizes the importance of benchmarking comprehensive workflows rather than just isolated operations to get a true sense of performance in real-world applications.