Hacker News new | ask | show | jobs
by marvinborner 658 days ago
I wonder what the optimal strategy is, optimize for speed with more fragmentation and fewer operations or for less fragmentation but more operations and time. For 1kb, optimizing for no fragmentation I can't seem to get below ~80.
1 comments

That's the formular I am using to calculate the score: (elapsed seconds / 4) + operations + fragmentation
Seems like there's something off about that formula. This should have achieved 63 points instead of 79: https://i.imgur.com/QGEWpgO.png
Actually true. Thanks, will check this one