summary refs log tree commit diff
path: root/readme.md
diff options
context:
space:
mode:
authorThe Fox in the Shell <KellerFuchs@hashbang.sh>2017-04-15 04:04:40 +0000
committerMykola Bilokonsky <mbilokonsky@gmail.com>2017-04-15 06:04:40 +0200
commitca9c013cdf700617199e1c97ac8ec9cb08486da4 (patch)
treee60dd057d50808e00fe9cdd6930ec9d127f5f130 /readme.md
parent32f8e690dd9eaf6a23dec8de072209cfc7149107 (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 'readme.md')
0 files changed, 0 insertions, 0 deletions