Long story short I am creating a marching cubes algorithm and I had an idea to instead of using an array of bools to use instead a single byte and access the individual bits in the byte like an array. This seemed like the right idea since you can't really get much faster than a single byte. But I haven't found anything on how I could do this. Here's an example in case you didn't understand.
var byte:Byte = 00000000
byte = true
Am I just overcomplicating this? Should I just do this?
var data:Array = [false,false,false,false,false,false,false,false]