Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 712 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 712 Bytes

New Findings

Overview

After measuring the performance of algorithms from micro benchmarks, we observe that in some cases, even with disabling all run-time checks, the Rust implementation is still much slower than the C implementation. We discovered several new factors that influence Rust run-time performance

Finding 1

Rust uses saturating floating-point to integer conversions for type casting, which is conservative but incurs extra run-time overheads.

Finding 2

The Unicode encoding design guarantees the safety of strings in Rust, but it introduces extra overheads for modifying string data type.