| Copyright | (c) Alex Semin, 2015 |
|---|---|
| License | BSD3 |
| Maintainer | alllex.semin@gmail.com |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.STM.PriorityQueue.Internal.TASLPQ
Description
An implementation of Class based on skip-list.
Expected time complexity of deletion is O(1), while insertion still normally has logarithmic complexity.
Default maximum height of skip-list node is 16. Use explicit constructor in case the height needs to be changed.
The skip-list's nodes are implemented via TArray.