logoalt Hacker News

justacatbottoday at 3:19 PM1 replyview on HN

Rule 2 is the one that keeps biting me. You can spend days micro-optimizing functions only to realize the real bottleneck was storing data in a map when you needed a sorted list. The structure of the data almost always determines the structure of the code.


Replies

ummonktoday at 3:25 PM

That's Rule 5 no?