in reply to
Re: vec overflow?
in thread vec overflow?
Thanks very much. Good to know.
Another workaround that is useful if your algorithm benefits from having a single contiguous bitvector -- for example if you want to count the set bits quickly using my $popcount = unpack '%32b*', $bitvector; -- is to nest calls to vec. Eg:
vec( vec( $bitvector, $n >> 5, 64 ), $n & 0x1f, 1 ) = 1;
Theoretically, as neither offset breaches the 2**31-1 barrier, this can allow you to address bitvectors up to 16GB/137 billion bits, though I don't have enough memory to try it.
The same name on every site (unless it is taken already)
A different name for every site
The same name for sites I don't care about, but different names on sites I do care about
Different names for sites I don't care about, but the same name on sites I do care about
The anonymous account
Someone else's username
Root, after hacking into the site
Results (250 votes),