Optimizing my Database Engine Pt 1

A while back, I wrote a toy polymorphic database engine in Rust. It’s purpose was to enable CRUD operations on document and relational row and columnar formats, in one DB. I wrote the paging system, interpreter, query executor, and client. But it wasn’t very efficient. I can’t remember just how bad it was but going by the popular saying “If you can optimize something 1.5x, thats good. If you can…