TIL that nasm does optimisation!
It will convert `mov rax, 1` to `mov eax, 1` unless you specify -O0.
Handy, but surprised me when tinkering with some machine code.
I'm dogfooding difftastic and I'm always pleasantly surprised when it works.
Here's a nice example from optimisation today: I've removed an outer if statement. Note that it's lined up line 47 on the left with line 41 on the right, even though they have different indentation.
Wilfred Hughes
Shared words: optimisation, surprised, when
Score: 51.7