Re: A puzzler (well, for me at least)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux