Optimization is actually easier in assembler than it is in Python. Fewer moving parts.
Your compiler is almost certainly better at optimization than you are, though. This was just not always true, nor was it always true that you could even get a compiler.
Your compiler is almost certainly better at optimization than you are, though. This was just not always true, nor was it always true that you could even get a compiler.