In order to sign a nostr event, you need to line up some JSON fields. These aren't lined up in JSON events, so you need to allocate more memory and copy stuff. And if we had binary events we would have to translate things to sign them.
We could have immediate signing without allocation or copies if binary nostr events had all signable fields contiguous.
In order to sign a nostr event, you need to line up some JSON fields. These aren't lined up in JSON events, so you need to allocate more memory and copy stuff. And if we had binary events we would have to translate things to sign them.
We could have immediate signing without allocation or copies if binary nostr events had all signable fields contiguous.