Very interesting concept! I really like the compact mode. After trying it out briefly, I have two questions: - When I’m browsing a specific relay and click on “X other notes from the same user”, are those notes limited to the current relay? - How many notes are fetched at once? I noticed some lag when using it in normal mode, so I’m wondering if there’s room for optimization. The feature is super cool and useful, but it does seem to require quite a lot of resources.

Replies (1)

I'd do it in two rounds. Open up streams for 3 seconds into a map. Aggregate by npub, count how many notes they published, filter out those over X times, refetch the rest for the remainder, with a 10-second timeout.