class

StarDB::MemTableV2

Inherits Reference < Object

High-performance append-only memtable. Writes are O(1), reads are O(n) though still are fast due to cache locality

Constructors

new(capacity : Int32 = 10000)
Source

Instance methods

byte_size
Source
clear
Source
delete(key : String)
Source
each
Source
get(key : String) : Value | Nil
Source
put(key : String, value : Value)
Source
size
Source
sorted_entries
Source

Nested types