What is Nostr?
andrew / Andrew
npub1kun…p0ge
2022-12-29 11:06:26

andrew on Nostr: Inspired by Bitcoin's weird endianness, wrote a reasonably fast polymorphic byte swap ...

Inspired by Bitcoin's weird endianness, wrote a reasonably fast polymorphic byte swap for PostgreSQL in C. Only took a few days of Googling 🤯 Might push to pgxn later.

Cute how bswap('{"a":123}'::json) => }321:"a"{ 😍

https://github.com/pandrewhk/pg_bswap
Author Public Key
npub1kundug94z4c9llhf29v3ar657she8wu9p80cr2z3e4dujj0vzveqwpp0ge