I need more speed to compare two arrays. know if a puzzle is well done
Basically I want to compare two tables of 165 elements (colored pieces).
Local var: ID =1 for index in array table.
Constrain attribute - Var1 = tablecellvalue(arrayA,ID,1)
Constrain attribute - Var2 = tablecellvalue(arrayB,ID,1)
Rule ID < 165
Timer = 0
Rule Var1=Var2 ............................
Display Text ID (to see ID on screen) only for tests.
Change attribute ID = ID+1
With this simple loop, i need about 5 seconds to complete.
know any way to make this simple loop faster?
you can see at:
http://www.infoarq.es/gstables.jpg
Thanks.
Tomas Aceytuno
Local var: ID =1 for index in array table.
Constrain attribute - Var1 = tablecellvalue(arrayA,ID,1)
Constrain attribute - Var2 = tablecellvalue(arrayB,ID,1)
Rule ID < 165
Timer = 0
Rule Var1=Var2 ............................
Display Text ID (to see ID on screen) only for tests.
Change attribute ID = ID+1
With this simple loop, i need about 5 seconds to complete.
know any way to make this simple loop faster?
you can see at:
http://www.infoarq.es/gstables.jpg
Thanks.
Tomas Aceytuno
Comments
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Keen to hear how others have dealt with this.
Timer = 0.05
I will try KiwiLee.