|
|
|
|
|
by bazizbaziz
2847 days ago
|
|
This comment is excellent. The title of the original post should be: "When optimising code, never guess, always read the bytecode/assembly." Without actually reading the assembly/bytecode/etc, you end up speculating about silly things like 'the two evaluations and assignments can happen in parallel, and so may happen on different cores.'. |
|
But you are right: even when you isolate where the code is slow, you've still got a lot of work to do to find out why it is slow.