PoC: Sqlite3 extension to collect sql rows, and spit out flexbuffers, with rust
This is part of an experiment with sqlite3 extensions in rust and flex- and flatbuffers.
It seems that the base64 payload of flatbuffers are a lot larger than flexbuffers All we need now is a magic attribute that generates the packing and unpacking code for flexbuffers.
- create dynamic sqlite3 aggregate function, that will use column names as keys
- Create attribute to generate unpacking function for arbitrary columns
- Benchmark flex vs flat packing speed
- Benchmark flex vs flat unpacking speed