| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.SkipList
Description
SkipLists are comprised of a list and an index on top of it
which makes deep indexing into the list more efficient (O(log n)).
They achieve this by essentially memoizing the tail function to
create a balanced tree.
NOTE: SkipLists are amortized efficient, see the benchmarks for
performance results.
Documentation
SkipLists are lists that support amortized efficient indexing.
Convert a list to a SkipList.