powf is slow draft.:

This commit is contained in:
jimmy committed 2024-01-21 09:53:02 -05:00
1 parent 53513e9137
commit 1c7a477dd5
3 files changed
+87 -1

No files matched your search

@@ -0,0 +1,20 @@
---
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
-->