Why Nostr? What is Njump?
2024-06-26 15:16:56
in reply to

mleku on Nostr: hm, just random thought also the count query method... in previous implementations i ...

hm, just random thought also

the count query method... in previous implementations i think that the actual event data was being pulled and decoded, that just seems silly to me right now, when i can simply count the hits on the filter prefix and return that, which is a much faster operation

also, other random thoughts, after reading about how badger (and dgraph) use a form of ristretto cache system, it occurs to me that i should reformulate the GC cache strategy to use ristretto... would be awesome to cut down a GC pass from 12 seconds for 15gb to like half a second, by using a ristretto algorithm

mmm ristretto... must be time for another
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku