BLUE
Profile banner
R
redsolver
@redsolver.dev
Developer, working on content-addressed storage/routing networks (sfive.net), custom feeds for Bluesky (@skyfeed.app) and other cool open-source stuff! Matrix: @red:y4y.me Email: bsky@redsolver.net
5.7k followers304 following1.1k posts
Rredsolver.dev

So in the worst case (new feed) it takes 70 seconds ONCE to run a regular expression on every single post ever made, but all queries after that only need to check the new groups and latest posts (so very fast!). Cache is also stored with rkyv, with key being the blake3 hash of the filter params :)

1

FOfelipe.rs

There is a trick if you ever need to make the historical match very fast based on a reverse index of trigrams. swtch.com/~rsc/regexp/...

0
Profile banner
R
redsolver
@redsolver.dev
Developer, working on content-addressed storage/routing networks (sfive.net), custom feeds for Bluesky (@skyfeed.app) and other cool open-source stuff! Matrix: @red:y4y.me Email: bsky@redsolver.net
5.7k followers304 following1.1k posts