Post Reply 
Really really fast BASIC handheld
01-11-2019, 01:34 PM
Post: #12
RE: Really really fast BASIC handheld
(01-11-2019 07:11 AM)berndpr Wrote:  The unstructured BASIC version with labels, because SmileBasic has no line numbers.
With OPTION DEFINT and a outer loop of 1000 I got this this time:
11.97 seconds, so less than 12 msecs for one run.
No bad for an interpreted language.

Thank you for testing SmileBasic, that turns the Nintendo into a very powerful pocket computer like device.
Thats pretty fast for a bytecode interpreter. The german wiki mentions a CPU clock switch in the home menue,
but I guess it's running at 804 MHz already.

(01-11-2019 07:11 AM)berndpr Wrote:  And I tried the structured version in BASIC with same conditions:
OPTION DEFINT and outer loop of 1000
12.52 sec, so 12.5 msec for one run.

Funny, the goto version is faster than the version with repeat, while and for.

I've made the same observation on many languages.

(01-11-2019 07:11 AM)berndpr Wrote:  If you are interested in the codes, I can post it here.

Yes please. I guess you have tested ver.3.6.0?

Calculator Benchmark
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Really really fast BASIC handheld - xerxes - 01-11-2019 01:34 PM

User(s) browsing this thread: 1 Guest(s)