Safe Haskell | None |
---|---|
Language | Haskell98 |
A cache for single element IntSet
s with elements 0 <= i < cacheSize (1024)
These single element sets occur very frequently in position sets
in occurrence maps, so sharing becomes available with this cache.
Usage: substitute all singleton calls with cacheAt
calls
and all fromList
calls with IS.unions . map cacheAt
.