Hi Roger,

On Jun 29, 2017, at 6:58 AM, Roger Riggs <roger.ri...@oracle.com> wrote:

> Pretty code; though the part about creating an array to create a BitSet is a 
> bit non-obvious.
> 
> But how much garbage does it create and extra runtime doing all that fancy 
> stuff.

Probably either of the second two versions I posted generates more than my 
original brute approach. Beaty at the expense of efficiency perhaps.

> Now if BitSet had a constructor from the bits in a long...

Could be an RFE …

Is this also a +1?

Thanks,

Brian

Reply via email to