3 ms·
> but this is an example of why it's generally useless to try to resort to assembly to beat a compiler unless you're an expert at assembly. Yes I realized ! Ex
by agnivade 9y ago
> but this is an example of why it's generally useless to try to resort to assembly to beat a compiler unless you're an expert at assembly.
Yes I realized ! Expert ? Not even close. I barely know a thing or two in assembly. The fact that I even managed to make it run amazes me.
This was my first time venturing into the assembly land. It was just something which I wanted to give a shot and hopefully learn something at the end of the day, which I did.
The 2 optimizations that you are talking about - I am totally clueless about them :) It's totally possible that if whatever you are saying is done, we may see better gains. Hopefully, some good samaritan who is better at this than me will be willing to give this a shot and see where it gets us.