4 ms·
I remember spending days trying to optimize some photo-scanning code in an app I was building and getting seriously frustrated with it. "This should be instanta
by ludocode 5y ago
I remember spending days trying to optimize some photo-scanning code in an app I was building and getting seriously frustrated with it. "This should be instantaneous!" Turns out I forgot / didn't notice I was running it under Valgrind the whole time. It was plenty fast once I ran it normally. There's another strategy for you :)