Liking cljdoc? Tell your friends :D

eva.v2.datastructures.bbtree.logic.v0.buffer

A map-like structure with the following quirks:

  • each key is associated with a vector of all values inserted at that key.
  • `count' returns the sum of lengths of all vector values.
  • it works as a priority-map, sorting each key by the length of its associated vector.
  • Corollary: `first' returns the entry with the longest value vector.
A map-like structure with the following quirks:
- each key is associated with a vector of all values inserted at that key.
- `count' returns the sum of lengths of all vector values.
- it works as a priority-map, sorting each key by the length of its associated vector.
- Corollary: `first' returns the entry with the longest value vector.
raw docstring

btree-bufferclj

(btree-buffer order)
source

get-allclj

(get-all buffer)

Return a sequence of all messages in the mailboxes.

Return a sequence of all messages in the mailboxes.
sourceraw docstring

get-range-filteredclj

(get-range-filtered buffer cmp k ranges)
source

get-seqclj

(get-seq buffer & ks)

Given a buffer and a sequence of keys, returns a concatenated list of all messages bound for those keys.

Given a buffer and a sequence of keys, returns a concatenated list of all messages
bound for those keys.
sourceraw docstring

insertclj

(insert buffer k v)
source

keys-to-flushclj

(keys-to-flush buffer)
source

max-recipclj

(max-recip max buffer)
source

min-recipclj

(min-recip min buffer)
source

overflowing?clj

(overflowing? buffer)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close