Skip to content
Eugene Lazutkin edited this page Jun 4, 2024 · 28 revisions

list-toolkit

After implementing list-based structures countless times, I finally decided to write them down as an open source project.

The toolkit deals with lists, related data structures and their practical applications.

Concepts

A list is a simple yet versatile data structure with a lot of possible design decisions. I suggest to skim over the wiki in the following order:

DLL: double linked lists

A doubly linked list is the most flexible data structure. The API is described in the following documents:

  • Foundation — the foundational classes and methods of the implementation.
  • Lists — the hosted list classes and methods.
  • Pointers — the pointers API for doubly-linked lists.
  • External lists — the external headless lists API.

SLL: singly linked lists

A singly linked list is the minimalist data structure yet the most performant. The API is described in the following documents:

  • Foundation — the foundational classes and methods of the implementation.
  • Lists — the hosted list classes and methods.
  • Pointers — the pointers API for singly-linked lists.
  • External lists — the external headless lists API.

Caches

Heaps

Clone this wiki locally