| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Data.IntSet.Cache
Description
A cache for single element IntSets 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.