←back to thread

Speed matters (2021)

(www.scattered-thoughts.net)
65 points mefengl | 2 comments | | HN request time: 0s | source
Show context
inglor_cz ◴[] No.43111564[source]
I agree fully. Speed matters. Too many people consider CPU time too cheap to consider. I still marvel at how fast and efficient could Symbian OS be on a 190 MHz Nokia. (Though the API was hell.)

That said, it is also true that premature optimization is the root of all evil.

I suspect programming wisdom hides somewhere in between those two hills, neither of which is worth dying on.

replies(4): >>43111586 #>>43111588 #>>43111643 #>>43116423 #
1. hansvm ◴[] No.43111588[source]
That's an interesting point as well, but the entire article seems to me to be focused on programmer speed rather than program speed. What about it spoke to the latter rather than the former for you?
replies(1): >>43111618 #
2. inglor_cz ◴[] No.43111618[source]
Specifically the SQLite release statement. Quite recently, I did the same in my code, fishing for many micro-optimizations that sped up the execution by 1 per cent or so. These added up nicely.