Best computer performance optimization books according to redditors
We found 9 Reddit comments discussing the best computer performance optimization books. We ranked the 5 resulting products by number of redditors who mentioned them. Here are the top 20.
Zen of Code Optimization
It's dated, but still fun to read and still provides a good mindset. I've owned this book for 20 years now, and I still flip through it every couple of years.
Practically, you can use Swift for anything where you would use Objective-C, but there are a few situations you might use Objective-C and a few times you must Objective-C.
However even with the above, Swift is a better choice for new development. Apple has decided Swift is the future and is heavily investing in it. Performance is improving with Swift, the language is generally source code compatible for the last two years at least, and every year, more of the few remaining Objective-C only APIs have a Swift overlay.
if you're really worried about efficiency you might want to check iOS and macOS Performance Tuning. As everyone else said, there's very little relation between lines of code and performance. If you're getting an awful performance in your app it might be due to methods messing with other threads or poorly designed repetitive tasks.
Webpagetest.org is the original web performance tool and it's opensource so you can poke around. Also, buy this book about WPT. It should be super eye opening... https://www.amazon.com/Using-WebPageTest-Performance-Testing-Novices/dp/1491902590
Depending on how skilled you are at Java:
Then for Android specifically:
His algorithm reminds me of the one described by Michael Abrash in Zen of Code Optimization. It was a word counting program that IIRC processed the input in vectorized way (4 bytes at a time).
It happens. From what I understand mostly when a site grows and paying for optimization is cheaper than buying new servers (I probably should have said x86 instead of PCs)
This is the only source I found before I got bored searching XD http://www.amazon.com/Visual-C-Optimization-Assembly-Code/dp/193176932X