No, No, No, Light Speed Is Too Slow.

Posted ago by Mike

“The CPU,” he said, “runs at a certain speed. It can execute a fixed number of instructions per second, and no more. There is a finite limit to how many instructions per second it can execute. Right?”

“Right,” I said.

“So there is no way, really, to make code go faster, because there is no way to make instructions execute faster. There is only such a thing as making the machine┬ádo less.”

He paused for emphasis.

To go fast,” he said slowly, “do less.

http://asserttrue.blogspot.com/2009/03/how-to-write-fast-code.html

p.s. the site should be a bit faster now ;)

Comments (2)

Ben
<p>No it&#8217;s not. <a href="http://www.xsilva.com/" rel="nofollow">http://www.xsilva.com/</a></p>
Clinton
<p>ha ha &#8211; I guess you could say necessity is the mother efficiency too.<br /> Talking about efficiency, I just read somewhere that Gates coded his original version of Basic to run in less than 4 kilobytes of memory. Unimaginable.</p>
to add a comment.
Add Comment