Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eval-exec/skiplist
Implementation of a skiplist data structure that is thread-safe for searching and insertion.
https://github.com/eval-exec/skiplist
skiplist
Last synced: about 1 month ago
JSON representation
Implementation of a skiplist data structure that is thread-safe for searching and insertion.
- Host: GitHub
- URL: https://github.com/eval-exec/skiplist
- Owner: eval-exec
- Created: 2020-12-29T07:47:35.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-08T09:02:52.000Z (almost 4 years ago)
- Last Synced: 2024-10-13T13:38:01.877Z (3 months ago)
- Topics: skiplist
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# skiplist
![](https://upload.wikimedia.org/wikipedia/commons/8/86/Skip_list.svg)Skip lists were first described in 1989 by William Pugh.
It is a probabilistic data structure that allows `O(log n)` search complexity as well as `O(log n)` insertion complexity within an ordered sequence of `n` elements.
> Skip lists are a probabilistic data structure that seem likely to supplant balanced trees as the implementation method of choice for many applications. Skip list algorithms have the same asymptotic expected time bounds as balanced trees and are simpler, faster and use less space.
>
> — William Pugh, Concurrent Maintenance of Skip Lists (1989)
>
## References
- https://en.wikipedia.org/wiki/Skip_list
- Papadakis, Thomas (1993). Skip Lists and Probabilistic Analysis of Algorithms. University of Waterloo.
- William Pugh. "A skip list cookbook". 1990. Section 3.4 Linear List Operations .
- Pugh, William (April 1989). Concurrent Maintenance of Skip Lists (PS, PDF) (Technical report). Dept. of Computer Science, U. Maryland. CS-TR-2222.