mleku on Nostr: it is done possibly can make that json decoder as fast as the easyjson one but it's ...
it is done
possibly can make that json decoder as fast as the easyjson one but it's only 200ns/op slower as it is, everything else is faster than easyjson and fiatjaf binary codec
now to put it into use
nostr:nevent1qyghwumn8ghj7mn0wd68ytnvv9hxgtcpz9mhxue69uhkummnw3ezuamfdejj7qghwaehxw309akkcettw5hxummnw3erztnrdakj7qgmwaehxw309a6xsetxdaex2um59ehx7um5wgcjucm0d5hszxrhwden5te0ve5kcar9wghxummnw3ezuamfdejj7qgwwaehxw309ahx7uewd3hkctcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsqg8resj6lghlvupuuu7mmt608m0fs28tavsa37kzpygvpwty5rggzcv4r6l4
Published at
2024-07-22 16:04:30Event JSON
{
"id": "bf2c059142672bbfa9401fdf36a784283571a93b72ac8f223322e185a5dc5c81",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1721657070,
"kind": 1,
"tags": [
[
"q",
"e3cc25afa2ff6703ce73dbdaf4f3ede9828ebeb21d8fac20910c0b964a0d0816",
"wss://nostr.land/"
],
[
"client",
"Coracle",
"31990:97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322:1685968093690"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"wss://nostr.land/",
"mleku"
],
[
"a",
"34550:4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f:Go",
"wss://relay.damus.io/"
]
],
"content": "it is done\n\npossibly can make that json decoder as fast as the easyjson one but it's only 200ns/op slower as it is, everything else is faster than easyjson and fiatjaf binary codec\n\nnow to put it into use\n\nnostr:nevent1qyghwumn8ghj7mn0wd68ytnvv9hxgtcpz9mhxue69uhkummnw3ezuamfdejj7qghwaehxw309akkcettw5hxummnw3erztnrdakj7qgmwaehxw309a6xsetxdaex2um59ehx7um5wgcjucm0d5hszxrhwden5te0ve5kcar9wghxummnw3ezuamfdejj7qgwwaehxw309ahx7uewd3hkctcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsqg8resj6lghlvupuuu7mmt608m0fs28tavsa37kzpygvpwty5rggzcv4r6l4",
"sig": "ce9cc108446cc5246d19eeedbb8e82b71d0081ef29e98dd952dad9bbcbdceb6f7102969e362ef65ceab69b7dc836c3efed18482ef2686df4231dca8e3a9de25c"
}