
Someone improved my code by 40,832,277,770%
About this video
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.
Why it appears in the archive
Cited as a fun example of how algorithmic changes can yield enormous performance gains.
AI-generated summary and labels from the source dataset; verify important details against the video. Source & credits.
From the Hacker News discussion
See also “Someone improved my code by 40,832,277,770%” < [VIDEO] > by Matt Parker. It can be a really fun game!
Read original comment ↗> '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.)
Read original comment ↗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.
Read original comment ↗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]
Read original comment ↗