779 posts
Location
Kerbin
Posted 18 October 2015 - 09:13 AM
Using a table of booleans like an int type is faster or using numbers is faster?
(Execution time)
2679 posts
Location
You will never find me, muhahahahahaha
Posted 18 October 2015 - 09:35 AM
What exactly do you mean?
How do you use a tale of bools like an int?
I think using numbers is faster.
7083 posts
Location
Tasmania (AU)
Posted 18 October 2015 - 09:54 AM
A number-type would be considerably faster than a table populated with booleans for every use case I can think of where you'd want to represent ints. It'd consume less RAM, too.