-
Unfortunately, simply calling the internal `RunIterator` method pre-reads the entire bitset (for caching). There should be a non-caching version for `IsEmpty` and `First`.
-
The current implementation uses a `boolean[]` as an input. Use of a BitSet (https://docs.oracle.com/javase/7/docs/api/java/util/BitSet.html) would be a lot more efficient.
For example, if dictionar…
-
_Submitted by:_ **meijeru**
See also #782.
``` rebol
remove on bitset is forbidden -- the error message should say so.
```
``` rebol
remove/part on bitset apparently removes exactly one bit at the …
-
```
Some operations can be done with both uncompressed and compressed bitsets.
I plan to add those operations.
```
Original issue reported on code.google.com by `devb...@gmail.com` on 30 Nov 2007 at…
-
Currently if you want to make `bitset!` from `integer!` value, you first need to convert it to `binary!` and optionaly skip unneded zeroes. It would be nice to avoid this unnecessary step by convertin…
-
The NEGATE operation on bitsets does not actually invert the bits, but sets a flag on the bitset indicating that search answers should be negated:
>> bits-two: make bitset! [2]
== make bit…
-
This article tells all possible subset sum for an array.
Here is the link - https://www.geeksforgeeks.org/subset-sum-queries-using-bitset/
Although in that link there was no good explanation why t…
-
One of our heaviest workloads uses this library to index a lot of ingested data in real time. In one part of the workload we basically have dozens of goroutines doing something like the following in a…
-
**Describe the bug**
Using helper func for visualization:
`base2: func [bs] [s: copy {} repeat i 24 [append s pick "10" on = find bs i - 1] insert skip insert skip s 8 "." 8 "." s]`
| command …
-
I was doing set-arithmetic on typesets, and then checking if there's an intersection.
`empty?` didn't accept my result so, either I have to convert typeset to block first `empty? to block! typeset`…