Profiling graph library

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Wed Jul 31 03:37:31 PDT 2013


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 ... ?


More information about the Digitalmars-d-learn mailing list