database
database copied to clipboard
WIP POC for better perf with encode/decode/castings
Add single-pass document processor for faster reads by combining decode and casting into one pass instead of two, reducing overhead when reading documents. Enabled via DB_SINGLE_PASS_PROCESSOR env var with fallbacks for edge cases. Includes benchmarks to test via DB_SINGLE_PASS_PROCESSOR.