https://github.com/lighterowl/rsqrt-bench
Benchmark of the "fast inverse square root" on various CPUs
https://github.com/lighterowl/rsqrt-bench
Last synced: about 2 months ago
JSON representation
Benchmark of the "fast inverse square root" on various CPUs
- Host: GitHub
- URL: https://github.com/lighterowl/rsqrt-bench
- Owner: lighterowl
- Created: 2020-12-30T23:37:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-28T14:17:12.000Z (over 2 years ago)
- Last Synced: 2025-02-08T10:17:27.194Z (3 months ago)
- Language: Shell
- Size: 40 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# "Fast inverse square root" benchmark
This is a benchmark of the "fast inverse square root" algorithm found in Quake 3 Arena source code.
I created this because a coworker "kindly suggested" I use this "very optimised function"
in some non-performance-critical code, running on x86. I did not agree and asked them
to provide benchmarks that would prove its superior performance on modern hardware.
They eventually let it go, but I decided to go ahead with the benchmark anyway.**tl;dr** using it does not seem to make sense on any post-SSE2 (so, practically
any 64-bit) CPUSee `RESULTS.md` for the actual results.