R-trees vs arrays/hash-maps vs combined methods for calculating local inhibition

We have also problems with the speed of local inhibition, and quality of global.
@dmac proposed improvement to SpatialPooler (includes macrololumns within each macrocol global (fast) inhibition happens, communication outside the macrocol is considered too far (there is none))

This helps combine semantic quality of local inh with speed of global.
Actially helps achieve even better results in our MNIST test.

I would be interested in this implementation and discussion of its problems, as I propose replacing inhibition (resp. the neighbourhood search) with proximal connections