3 ms·
When it comes to optimization, less if often better. If you have branching it's likely that the CPU will run all branches anyway. You also want to stay in the C
by z3t4 10y ago
When it comes to optimization, less if often better. If you have branching it's likely that the CPU will run all branches anyway. You also want to stay in the CPU and off the memory. And bitwise operations are usually not faster in JavaScript. I probably missed the point but blame it on the stupid examples. I also think it's stupid to write dot net C# when you can write JavaScript with NodeJS :P