Post Reply 
8-Queens Benchmark
08-25-2024, 02:53 PM (This post was last modified: 08-26-2024 05:34 AM by Hlib.)
Post: #35
RE: 8-Queens Benchmark
I have checked the implementation of 8-queens benchmark algorithm in some calculators. In Hewlett Packard models, everything was done quite successfully. In CASIO and in Texas Instruments models, this leaves much to be desired. To apply the most effective implementation of the algorithm, it is necessary to take into account the features of each specific calculator model. Otherwise, we will not be able to get objective results in the test.
Here is a more suitable test program
for TI-83+/83+SE/84+/84+ SE:
Code:

ClrHome
8->R : R->dim(L1)
R+1->N : 0->S : 0->X : 0->Z
While Z=N or X<>R
  If Z<>N
    Then : X+1->X : R->L
      Else : DS<(X,1)
        L1(X)-1->L
      If X=0
        Then : 1->Z : R->X : 0->L
      End
  End
  For(Y,L,1,-1)
    For(Z,1,X-1,1)
      Y-L1(Z)->T
        If T=0 or X-Z=abs(T)
          R->Z
    End : S+1->S
      If Z<>N
        Then : Y->L1(X) : 0->Y
      End
  End
End : Disp S

t=130_s (2:10) vs 161_s (2:41) TI-83+, increase in speed +19%.
t=62_s (1:02) vs 68_s (1:08) TI-84+/84+SE, OS 2.55MP Classic mode, +9%.
t=51_s vs 62_s (current benchmark) TI-83+SE, +18%.
Since the performance in TI calculators is directly proportional to the size of free RAM, the test was performed under favourable conditions.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
8-Queens Benchmark - Hlib - 05-23-2016, 06:08 PM
RE: 8-Queens Benchmark - xerxes - 05-24-2016, 02:28 PM
RE: 8-Queens Benchmark - Hlib - 05-27-2016, 08:14 PM
RE: 8-Queens Benchmark - Hlib - 06-25-2016, 06:39 PM
RE: 8-Queens Benchmark - xerxes - 06-26-2016, 06:47 PM
RE: 8-Queens Benchmark - mtern - 06-29-2016, 11:41 AM
RE: 8-Queens Benchmark - xerxes - 06-30-2016, 12:04 PM
RE: 8-Queens Benchmark - xerxes - 06-30-2016, 08:14 PM
RE: 8-Queens Benchmark - Accutron - 07-03-2016, 04:22 PM
RE: 8-Queens Benchmark - Accutron - 07-04-2016, 02:10 AM
RE: 8-Queens Benchmark - xerxes - 07-02-2016, 06:39 PM
RE: 8-Queens Benchmark - xerxes - 07-03-2016, 09:56 AM
RE: 8-Queens Benchmark - Accutron - 07-10-2016, 03:21 AM
RE: 8-Queens Benchmark - Egan Ford - 07-10-2016, 06:03 PM
RE: 8-Queens Benchmark - Accutron - 07-10-2016, 06:45 PM
RE: 8-Queens Benchmark - Accutron - 07-10-2016, 07:19 PM
RE: 8-Queens Benchmark - xerxes - 07-12-2016, 10:44 PM
RE: 8-Queens Benchmark - Accutron - 07-12-2016, 10:58 PM
RE: 8-Queens Benchmark - xerxes - 07-13-2016, 10:46 AM
RE: 8-Queens Benchmark - Accutron - 07-13-2016, 02:01 PM
RE: 8-Queens Benchmark - Jurgen Keller - 01-06-2017, 06:31 PM
RE: 8-Queens Benchmark - xerxes - 01-06-2017, 02:23 PM
RE: 8-Queens Benchmark - rprosperi - 01-06-2017, 04:00 PM
RE: 8-Queens Benchmark - xerxes - 01-07-2017, 06:56 PM
RE: 8-Queens Benchmark - Guenter Schink - 11-14-2021, 06:52 PM
RE: 8-Queens Benchmark - xerxes - 11-15-2021, 11:37 PM
RE: 8-Queens Benchmark - Hlib - 08-25-2024 02:53 PM
RE: 8-Queens Benchmark - xerxes - 08-26-2024, 05:58 AM
RE: 8-Queens Benchmark - toml_12953 - 09-03-2024, 11:14 AM
RE: 8-Queens Benchmark - Hlib - 09-01-2024, 06:27 PM



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