8-Queens Benchmark
|
01-03-2017, 02:53 PM
Post: #28
|
|||
|
|||
RE: 8-Queens Benchmark
Some more results, I have obtained the Microsoft BASIC and SnapFORTH for the Panasonic HHC RL-H1800. The Microsoft BASIC version is the same as the SnapBASIC program and for SnapFORTH I modified the HP-71 FORTH program and the results are:
Microsoft BASIC Integer 69.59 seconds Microsoft BASIC Float 58.74 seconds SnapFORTH 23.51 seconds. It appears that the math routines in Microsoft BASIC are optimized for floating point. I have encountered some BASICs before that do all their math in floating point so integers need to be converted to floats which slows down integer math. Paul. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)