Strategies to store data in tb-var.
Note: get-exact and get-measures are redundant functionaly but are here to optimize performance.
Strategies to store data in `tb-var`. Note: `get-exact` and `get-measures` are redundant functionaly but are here to optimize performance.
(get-exact this bucket)Get the value at bucket
Get the value at `bucket`
(update-date this bucket f args)Updates the value at bucket with function f, args is a collection of supplementary data passed to f
Updates the value at `bucket` with function `f`, `args` is a collection of supplementary data passed to `f`
(capacity _)Returns the size of the capacity.
Returns the size of the capacity.
(assoc-date this bucket v)Associates value v to date bucket
Associates value `v` to date `bucket`
(get-before this bucket)Returns the first value before bucket
Returns the first value before `bucket`
(range-dates _)Returns the range of the dataset
Returns the range of the dataset
(get-measures this buckets)A subset of values between [bucket-start;bucket-end[.
A subset of values between `[bucket-start;bucket-end[`.
(nb-set _)Returns the number of data assoced in the datastructure
Returns the number of data assoced in the datastructure
(get-after this bucket)Returns the first value after bucket
Returns the first value after `bucket`
(occupation-rate storage)Calculates the occupation rate of storage.
Calculates the occupation rate of `storage`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |