Engineer building things, some of which rapidly disassemble as scheduled.
Formerly 🇩🇪🇬🇧🇳🇱, currently 🇯🇵.
| Website | https://blog.sulami.xyz |
| Codeberg | https://codeberg.org/sulami |
| GitHub | https://github.com/sulami |
| 日本語で | おk |
Engineer building things, some of which rapidly disassemble as scheduled.
Formerly 🇩🇪🇬🇧🇳🇱, currently 🇯🇵.
| Website | https://blog.sulami.xyz |
| Codeberg | https://codeberg.org/sulami |
| GitHub | https://github.com/sulami |
| 日本語で | おk |
Out of curiosity, I ported https://mrshiny608.github.io/MrShiny608/optimisation/2025/04/22/OhNoYouDidnt.html over to #Rust and ran it through Criterion.
The implementations are the same, naive brute force, std HashMap, pre-allocated HashMap, and as a bonus, pre-allocated AHashMap.
Unsurprisingly, same results.
macOS + YubiKey pro-tip:
When you see this prompt, the key is already waiting for a touch, you don't actually need to click anything.
"We and our up to 184 partners [...]" oh come on.
Apart from this ridiculous statement from what claims to be an IT news site, this whole business of "consent to us selling all your data or subscribe" is not only against the spirit, but probably also the letter of the law. You can't claim I'm freely consenting if the alternative is to pay 5€/month.
I can't fathom why one would need to get the sixth derivative of position, but apparently it's "pop."
(Source: https://commons.wikimedia.org/wiki/File:Time_derivatives_of_position.svg)