01-13-2015 04:09 PM
A method that involves bit shifting integers will be orders of magnitude faster than converting to an array of booleans and back.