I’m experimenting with SQLite and trees. It’s going good so far with only my own 439 messages long main feed from a few days ago in the cache. Fetching these 632 rows took 20ms:

SQL query to build up the conversation trees in the cache
Download

SQL query to build up the conversation trees in the cache

Now comes the real tricky part, how do I exclude completely read threads?

⤋ Read More