On 07/31/2013 01:02 AM, bearophile wrote: > Also try to use a bitvector from Phobos instead of bool[].
I take it you mean std.bitmanip.BitArray ... ? I ran into some interesting problems which are probably down to incomplete implementation: e.g. myBitArray.length += n; ... results in a compiler error message: myBitArray.length() is not an lvalue BitArrays are also not sliceable, it seems. I'm guessing that's simply failure to implement certain interfaces, rather than an unavoidable problem ... ?