Republished with permission of the author.
All techniques basically revolve around dividing the world into a series of regular grid cells.
Lets start with a basic world that is square. First, divide it into a regular grid, preferably one that divides evenly into the world. For this example, we'll just divide it into quarters. This simple act of building your world in regular squares will aid in performance. For Cosmo, at least, it is not necessary to specify the bounding box.