Optimized this database buffer pool manager in rust in 30 minutes. Here's what I changed:
- switched from utf-8 validation to raw bytes
- avoided allocations on every lookup
- performed sorting only at the end when converting back to BTreeMap for output
What else can I remove?