Remix.run Logo
measurablefunc 3 hours ago

The task is ill-defined.

saagarjha 3 hours ago | parent [-]

You make it faster

measurablefunc an hour ago | parent [-]

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.

saagarjha 13 minutes ago | parent [-]

It does in this case; you can read the assignment to see that it is all single-threaded