til.jpace121/_drafts/libm_vs_micromath_speed_com...

21 lines
370 B
Plaintext

---
title: "Rust: libm vs micromath speed comparison"
author: "James Pace"
date: "2024/01/16"
---
<!--
Relevant for comparison:
1. Distance between two points.
2. Dicretizing a point into a grid.
On laptop libm was way faster...
~0.23ms compared to 0.70ms in release
0.73ms compared to 8.66ms in debug
Switching to powi micromath
0.3ms in release
3.0ms in debug
-->