Directories
¶
| Path | Synopsis |
|---|---|
|
Basic demonstrates Put, Get, Delete, Contains, Len, and Clear.
|
Basic demonstrates Put, Get, Delete, Contains, Len, and Clear. |
|
Bulkimport benchmarks inserting 1M keys to demonstrate the write amortization benefit of the B-epsilon-tree's message buffering.
|
Bulkimport benchmarks inserting 1M keys to demonstrate the write amortization benefit of the B-epsilon-tree's message buffering. |
|
Comparator demonstrates NewWithCompare with a composite key struct.
|
Comparator demonstrates NewWithCompare with a composite key struct. |
|
Concurrent demonstrates safe concurrent reads and writes.
|
Concurrent demonstrates safe concurrent reads and writes. |
|
Disktree-binary demonstrates DiskBETree with a codec backed by encoding/binary for fixed-size types (int32 keys, float64 values).
|
Disktree-binary demonstrates DiskBETree with a codec backed by encoding/binary for fixed-size types (int32 keys, float64 values). |
|
Disktree-gob demonstrates DiskBETree with the default GobCodec.
|
Disktree-gob demonstrates DiskBETree with the default GobCodec. |
|
Disktree-varint demonstrates DiskBETree with a hand-rolled codec that encodes strings as a varint length prefix followed by raw UTF-8 bytes.
|
Disktree-varint demonstrates DiskBETree with a hand-rolled codec that encodes strings as a varint length prefix followed by raw UTF-8 bytes. |
|
Eviction demonstrates LRU-style cache eviction using a composite key that orders by access time, allowing Ascend to find the oldest entries.
|
Eviction demonstrates LRU-style cache eviction using a composite key that orders by access time, allowing Ascend to find the oldest entries. |
|
Leaderboard demonstrates using Descend to maintain a live top-K leaderboard.
|
Leaderboard demonstrates using Descend to maintain a live top-K leaderboard. |
|
Mergejoin demonstrates using two cursors to perform a merge join between two trees — finding keys that exist in both.
|
Mergejoin demonstrates using two cursors to perform a merge join between two trees — finding keys that exist in both. |
|
Prefixscan demonstrates scanning all keys with a common prefix using Range.
|
Prefixscan demonstrates scanning all keys with a common prefix using Range. |
|
Range demonstrates Range queries, Descend, and Cursor usage.
|
Range demonstrates Range queries, Descend, and Cursor usage. |
|
Ratelimiter demonstrates a sliding-window rate limiter using Increment to count requests per time bucket and DeleteRange to expire old buckets.
|
Ratelimiter demonstrates a sliding-window rate limiter using Increment to count requests per time bucket and DeleteRange to expire old buckets. |
|
Timeseries demonstrates using Range to query events within a time window.
|
Timeseries demonstrates using Range to query events within a time window. |
|
Upsert demonstrates Upsert, PutIfAbsent, Increment, and CompareAndSwap.
|
Upsert demonstrates Upsert, PutIfAbsent, Increment, and CompareAndSwap. |
Click to show internal directories.
Click to hide internal directories.