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

Stand-up Maths1 HN recommenders · 2022–2023
3.1M views · explainer · evergreen · Uploaded 2022-10-17

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.

Watch on YouTube

4 comments from Hacker News

@db48x2022 · 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%” < [VIDEO] > by Matt Parker. It can be a really fun game!

RecommendsView on HN
@CRConrad2022 · 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%": [VIDEO] (OK, 41 billion percent is only 0.41 billion times better, but still.)

@otikik2023 · 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) [VIDEO]

@high_priest2023 · in “Squeeze the hell out of the system you have”

Quick google yields very good examples in huge improvements on a single algorithm level: [VIDEO] Easy to imagine how even smaller improvements across 10-100 steps of data processing, can become even better.