I have been working on a small side project called RegionLib for about a week now. Essentially it is a plugin I am developing for my server that is in charge of creating WorldEdit like regions, saving them, managing them, etc... I have reached a point where I need to save created regions to file, I've chosen SQLite as my database of choice. My question is: When dealing with regions, should I go through the extra work of setting up an intricate system for detecting what region the user is referencing or standing in (and then loading that one region from the disk), or am I better of loading every single saved region into memory at boot up and then saving any changes to disk? I ask this because I want to make sure that my plugin is lightweight, and I know, "Pre-optimization is the root of all evil" but I want to make sure that I am inline with best practices when making these plugins. So please, bestow your advice upon me.