HackerTube

Someone improved my code by 40,832,277,770%

Stand-up Maths1 HN recommender · recommended in 1 month, 2022–2023
YouTube
explainer · intermediate · evergreen · 2022–2023 on HN

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.

4 comments from Hacker News

@db48x2022-12 · in “Ask HN: Is there a code golf community but for performance instead of size?”

See also “Someone improved my code by 40,832,277,770%” < ▶ this video > by Matt Parker. It can be a really fun game!

Recommends View on HN
@high_priest2023-08 · in “Squeeze the hell out of the system you have”

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.

@otikik2023-01 · in “A New Formula for the Determinant”

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

@CRConrad2022-12 · in “A Neat XOR Trick”

> '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.)