Andrew Zonenberg on Nostr: Another evening of filter refactoring and optimization, a few more nice performance ...
Another evening of filter refactoring and optimization, a few more nice performance jumps.
I've now done a first pass (remove deprecated method signatures, add explicit input location, add NVTX trace data, do easy GPU optimization if I see an obvious low effort win) on all filters A-F alphabetically plus a few later on that were priorities for one reason or other.
90 down (of which 23 were optimized and the rest just refactored), 115 to go.
Some of the remaining ones should be straightforward duals of ones I've already refactored, e.g. base/top and rise/fall are pretty much inverses of each other so the shaders will mostly be copy-paste with a few signs and conditionals flipped.
Then I can get on to the rest of the v0.2 priorities.
Published at
2026-01-31 07:44:34 UTCEvent JSON
{
"id": "f34d6a7090effbbf615344a06d5e06e40a8dc2638785db87ef382e537fc43755",
"pubkey": "c35a8fae05a838b863707803bb1fdfcfcbb39adcf01ee1a9fc52ef44998ce4c0",
"created_at": 1769845474,
"kind": 1,
"tags": [
[
"imeta",
"url https://files.ioc.exchange/media_attachments/files/115/988/571/057/490/958/original/f28decdc836bee09.png",
"m image/png",
"dim 1403x628",
"blurhash UCRW3lxtM{D*_3E1IVWB^*Ipo#Rk0L-;%MNH"
],
[
"proxy",
"https://ioc.exchange/users/azonenberg/statuses/115988593011722485",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "Another evening of filter refactoring and optimization, a few more nice performance jumps.\n\nI've now done a first pass (remove deprecated method signatures, add explicit input location, add NVTX trace data, do easy GPU optimization if I see an obvious low effort win) on all filters A-F alphabetically plus a few later on that were priorities for one reason or other.\n\n90 down (of which 23 were optimized and the rest just refactored), 115 to go.\n\nSome of the remaining ones should be straightforward duals of ones I've already refactored, e.g. base/top and rise/fall are pretty much inverses of each other so the shaders will mostly be copy-paste with a few signs and conditionals flipped.\n\nThen I can get on to the rest of the v0.2 priorities.\n\nhttps://files.ioc.exchange/media_attachments/files/115/988/571/057/490/958/original/f28decdc836bee09.png",
"sig": "359092b73832caa5ac77aa01469e364d8579d23c3f1caf9c2f26c897017b80650ae269409c2119eef2d8b58999f38c01dc601257848832ae6a214022c19ac239"
}