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

Channel:Stand-up Maths · Length:28:46 · Published:2022-10-17 · Views:3058510

Watch on YouTube

Summary

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 HN recommends it

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 — HN, 2023

Software performance & optimization · Algorithms & data structures · Recreational & visual math

On Hacker News

See also “Someone improved my code by 40,832,277,770%” < [VIDEO] > by Matt Parker. It can be a really fun game! — db48x, 2022-12
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. — high_priest, 2023-08
> '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.) — CRConrad, 2022-12
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] — otikik, 2023-01

Related videos