Re: A puzzler (well, for me at least)
| From: | Richard Heyes | Date: | Thu, 26 Feb 2009 15:03:22 +0000 |
| Subject: | Re: A puzzler (well, for me at least) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288820@lists.php.net to get a copy of this message | ||
> Not taking pipelining into account, a 3GHz processor will execute one
> instruction in 333 picoseconds, so three instructions in a nanosecond.
> How many instructions to a line of code? 10,000 ?
Ooh, less than that - round about 1000. I have some Javascript that
I'm curious about, and since it's usually got most of the CPU to play
with, I reckon it will be plenty fast enough. Nice to know that I can
be sloppy though if I wanted to.
--
Richard Heyes
HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.org (Updated February 14th)