I am thinking creating cellular automata in construct. Previously, I have tried using arrays and dictionaries to store cell data. I found that dictionaries worked better with comparisons when using the "has key" condition.
My question is that should I try to use another datatype like Binary, CSV or JSON. I know that heavy algorithms like cellular automata should be done with code and not events, but unfortunately I don't know javascript syntax.
I don't know much about big O notation, but if anyone knows the time complexity of comparisons in different datatypes in construct that would also be greatly appreciated.
Thank you in advance!