jenspots / libwheel

Generic data structures for the C programming language with (near) zero overhead.
GNU Affero General Public License v3.0
8 stars 0 forks source link

List of datastructures and algorithms to implement #1

Open jenspots opened 1 year ago

jenspots commented 1 year ago

This list is a continuous work of progress.

Structures

Smart Pointers

Associative Arrays

Lists

Trees

jenspots commented 1 year ago

The trie data structure has been implemented. For now, I think it's redundant to have multiple versions. There is a theoretical threshold at which it is more economical to switch from a Patricia trie to a binary-tree-based trie, but this also introduces a lot of complexity. The current implementation used binary trees with path compression, without rebalancing.