Hacker News new | ask | show | jobs
by saagarjha 152 days ago
You make it faster
1 comments

Fewer instructions doesn't mean it's faster. It can be faster but it's not guaranteed in general. Obvious counterexample is single threaded vs multi-threaded code. Single threaded code will have fewer instructions but won't necessarily be faster.
It does in this case; you can read the assignment to see that it is all single-threaded
I read it, you're mistaken.
I did the assignment my guy
That's great but I didn't ask & that's still not addressing my point.
I didn’t ask you to be rude or wrong either, yet here we are. The assignment is explicitly single core and cycle accurate. Your point is completely irrelevant and shows a disconnect with the content being discussed.