diff options
author | The Fox in the Shell <KellerFuchs@hashbang.sh> | 2017-04-15 04:04:40 +0000 |
---|---|---|
committer | Mykola Bilokonsky <mbilokonsky@gmail.com> | 2017-04-15 06:04:40 +0200 |
commit | ca9c013cdf700617199e1c97ac8ec9cb08486da4 (patch) | |
tree | e60dd057d50808e00fe9cdd6930ec9d127f5f130 /yarn.lock | |
parent | 32f8e690dd9eaf6a23dec8de072209cfc7149107 (diff) |
Better boost cache (#4)
* boost(): Avoid unnecessary projection * Abstraction for the cache of boosted toots * boosted: Use per-creation-time bucketing This allows to efficiently remove toots older than 5 days from the set, without having to entirely clear the set (and spike API use instead). Closes #3 * index.js: Use ES2015 style for concision * boosted: Avoid double-negation in methods “(not) already boosted” is more primitive than “(not) not already boosted”.
Diffstat (limited to 'yarn.lock')
0 files changed, 0 insertions, 0 deletions