BitArray([0,0,1]).bitsSet.count()
but this seems not very optimal, is there a faster way directly accessible trough phobos?
ideally something that is optimized by the compiler.
yawniek via Digitalmars-d-learn Tue, 01 Mar 2016 01:06:36 -0800
BitArray([0,0,1]).bitsSet.count()
but this seems not very optimal, is there a faster way directly accessible trough phobos?
ideally something that is optimized by the compiler.