splay_tree_map.cr

Binary search tree

A data structure implementation of a semi-balanced binary search tree that optimizes access to frequently accessed items

This is a Crystal implementation of a Splay Tree; which is a type of binary search tree that is semi-balanced and that tends to self-optimize so that the most accessed items are the fastest to retrieve.

GitHub

15 stars
3 watching
1 forks
Language: Crystal
last commit: almost 2 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
begeekmyfriend/bplustreeA minimal B+Tree indexing structure implementation for efficient key-value storage1,866
0xprinc/huff_binarysearchAn implementation of binary search in Solidity for finding elements in sorted arrays.2
chenyan2002/motoko-splayA library implementing a data structure used to efficiently retrieve and insert elements in a binary search tree.1
nycto/rbtreenimA library implementing a balanced binary search tree data structure with customizable key extraction and comparison functions.23
billyevans/tstA Rust implementation of a ternary search tree data structure used for efficient string matching and lookup.23
bgamari/b-treeAn implementation of an immutable B-tree data structure optimized for disk storage and efficient querying.116
jblindsay/kdtreeAn efficient spatial data structure for fast point query operations43
akpw/visualbinarytreesA tool for visualizing and manipulating binary trees in Swift58
joelrorseth/tree-troubleAn interactive tutorial on Binary Search Trees designed for the Swift Playgrounds application on iPads24
addyosmani/recursive-binarysearchA recursive algorithm for finding an element in a sorted array with logarithmic time complexity56
sardariuss/motokostablebtreeA stable B-tree data structure implementation in Motoko for storing and retrieving key-value pairs.10
zorab47/active_admin-sortable_treeA gem that provides drag'n'drop sorting and tree views for ActiveAdmin resource indexes161
geocrystal/kd_treeA data structure for organizing and searching points in k-dimensional space16
brianhicks/tree-grepperA tool that uses tree-sitter grammars to search for structure in code files.301
stunkymonkey/osm_chA tool that uses graph contraction hierarchies to speed up shortest path calculations on OpenStreetMap data17