Using a table of booleans like an int type is faster or using numbers is faster?
(Execution time)
Table of booleans vs number
Started by Konlab, Oct 18 2015 08:13 AM
2 replies to this topic
#1
Posted 18 October 2015 - 08:13 AM
#2
Posted 18 October 2015 - 08:35 AM
What exactly do you mean?
How do you use a tale of bools like an int?
I think using numbers is faster.
How do you use a tale of bools like an int?
I think using numbers is faster.
#3
Posted 18 October 2015 - 08: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.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











