> > Let's say the OOPic executes about 1000 instructions per second...
> Andrew Porrett <slicerwizard@...> wrote:
> I'd like to see an example that executes anywhere near 1000 user
> source code lines per second.
> ...Andy
Andy,
"instructions per second" and "user source code lines per second" are
two different things and cannot be compared. Its the old Apples and
Oranges thing.
"instructions per second" relate to the number of instructions the
processor can handle each second.
"user source code lines per second" relate to an average based on
coding style.
For instance:
a=1
compiles into 3 instructions.
a=abs((a*2+9)/2)
compiles into 12 instructions.
If (a=1) then a=abs((a*2+9)/2)
compiles into 20 instructions.
The details of how fast the 8-bit ooPIC interpreter chips operate can
be found on the following page which does a comparison to the Basic
Stamp which also publishes speed in "Instructions per second":
Scott Savage
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/oopic/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/oopic/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
No comments:
Post a Comment