See also “Someone improved my code by 40,832,277,770%” < ▶ this video > by Matt Parker. It can be a really fun game!
in “Ask HN: Is there a code golf community but for performance instead of size?” · View on HN
Someone improved my code by 40,832,277,770% on HackerTube: recommended by 1 Hacker News commenter across 1 month, 2022–2023.
explainer · intermediate · evergreen
Matt Parker follows the community effort to speed up his slow Wordle-solving code, which ended up running hundreds of millions of times faster. He walks through the techniques contributors used.
Cited as a fun example of how algorithmic changes can yield enormous performance gains.
“Quick google yields very good examples in huge improvements on a single algorithm level”
4 Hacker News comments link this video. Each one links back to its thread.
See also “Someone improved my code by 40,832,277,770%” < ▶ this video > by Matt Parker. It can be a really fun game!
in “Ask HN: Is there a code golf community but for performance instead of size?” · View on HN
Quick google yields very good examples in huge improvements on a single algorithm level: ▶ this video Easy to imagine how even smaller improvements across 10-100 steps of data processing, can become even better.
in “Squeeze the hell out of the system you have” · View on HN
> 'Drastically' in this context can mean the slower approach taking billions of times longer. Standupmaths - "Someone improved my code by 40,832,277,770%": ▶ this video (OK, 41 billion percent is only 0.41 billion times better, but still.)
in “A Neat XOR Trick” · View on HN
Also keep in mind that there’s people out there that will take your code and make it 40.363.757.265% more efficient (perhaps not in this case) ▶ this video
in “A New Formula for the Determinant” · View on HN