summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-30 19:21:10 +0100
committerdefault <nobody@localhost>2022-10-30 19:21:10 +0100
commit7d40affa6aa1334f0a4ad8aa58c4b8a2f08beab8 (patch)
tree60a8766cbee2a4c3b421d1640150536f63c9eac0
parent432a161a716186a6161ee56b1cb49d5c96b20c90 (diff)
Updated TODO.
-rw-r--r--TODO.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/TODO.md b/TODO.md
index 0961584..fadbd8b 100644
--- a/TODO.md
+++ b/TODO.md
@@ -20,7 +20,7 @@ Create the `mastodon2snac` helper program (reading directly from the boxes, not
Add an RSS to the local timeline.
-Idea for a new disk layout: timelines stored like in git (2 character directories and then the md5.json inside); two binary indexes ala Gruta, updated on input, 1) by inverse time, and 2) by parent + inverse time. Timelines are built by reading from 1 and consulting 2 for the nested children. This change a) simplifies timeline_write() and associated functions (no parent / grampa rewriting needed), b) no big glob() inverse functions on huge directories, so big histories won't be problematic.
+Idea for a new disk layout: timelines stored like in git (2 character directories and then the md5.json inside); one append-only index with entry ids, read backwards (easy because md5 binary ids measure the same); children lists as append-only files stored inside the timeline directories with almost the same names as the parent entry; liked-by and announced-by lists as append-only files of actor ids. No _snac metadata inside the message. (But, what about the referrer? With this layout, do I need it?).
Add a 'Follow' button next to a follow notification.