Re:Show HN: Defrag the Game
by marvinborner on Monday September 02, 2024 @07:41AM
(#41424568)
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.
[ Parent
| on HN ]
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