xii · x · mmxxvi

Projects

rust-skiplist

A skip list data structure for Rust

View on GitHub ↗
stars
111
forks
18
watchers
111
open issues
17
latest release
v1.2.0 · 18 Sep 2026
pull requests
15 open PRs

Recent commits

  • d09e5ddchore(mise): drop the lockfileJP-Ellis · 1w ago
  • 6a8ff52chore(mise): prefer aqua and github backendsJP-Ellis · 1w ago
  • 1ca1187chore: allow 80-char subjects and 100-char bodiesJP-Ellis · 1w ago
  • 881a4efdocs(skip_map): drop the summary link to a missing accessorJP-Ellis · 1w ago
  • 3cb7109chore(deps): update rust to 1.99JP-Ellis · 1w ago

A skip list is a probabilistic data structure that provides O(log n) average search, insertion, and deletion. It has the same asymptotic complexity as a balanced binary search tree, with a simpler implementation.

This crate provides SkipList<T> and OrderedSkipList<T>, both implementing the standard Rust collection traits (IntoIterator, FromIterator, Extend).

Quick Start

use skiplist::OrderedSkipList;

let mut list = OrderedSkipList::new();
list.insert(3);
list.insert(1);
list.insert(4);

assert_eq!(list.front(), Some(&1));
assert_eq!(list.len(), 3);

The crate is available on crates.io.