I found a copy of version 2.2.2 yesterday where I had added a hash table for lookups on language files and started to integrate MySQL for storage of messages and profiles.
Putting it here as a reminder to one day resurrect that code and properly look into it.
Pretty sure I have some test code somewhere that used sqlite instead, and I'd prefer that over MySQL. So try to find it!