2 ms·
Nope. DESIGN your app, system, whatever properly. WITH performance in mind. Then when you code it, you DON'T need to deeply optimize stuff with unreadable hac
by zobzu 14y ago
Nope.
DESIGN your app, system, whatever properly. WITH performance in mind.
Then when you code it, you DON'T need to deeply optimize stuff with unreadable hacks, that may or may not even work. But you DO need to make smart decisions.
Almost every single piece of software i see that is slow, is slow because the underlying design is terrible. It's terrible because people are taught to "code now, optimize later", yet COMPLETELY discard having a decent design performance wise.
Here's the trick. Once it's coded, you can't redesign the whole damn thing without losing a monstrous amount of time. So you just try to optimize the parts you can and that's that. And it's slow.
Don't go optimize to gain 50ms right off the bat. But do write it properly so that it takes 1s if it can, and not 10min. Don't forget that there's a just middle in everything.