FORTH for the SHARP PC-E500 (S)
|
11-08-2021, 04:22 AM
Post: #52
|
|||
|
|||
RE: FORTH for the SHARP PC-E500 (S)
(09-15-2021 11:51 PM)xerxes Wrote:(09-12-2021 02:00 AM)robve Wrote: - improved execution speed and reduced code size Forth500 n-queens benchmark on the PC-E500S: 4.15s A little over 4 seconds on a standard PC-E500S machine with no enhancements. By comparison, BASIC takes 1:19 minute and assembly code is of course the best at 0.114s. I ran NQUEENS four times to get 16.6s repeatedly with +/- 0.2s deviation in the 16.6s stopwatch timing. The value S=876 is displayed. The n-queens code in standard Forth using VALUEs instead of VARIABLEs: Code: 8 CONSTANT RR - Rob "I count on old friends to remain rational" |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)