[MRG] Locality Sensitive Hashing for approximate nearest neighbor search(GSoC)

You are using this method in only one occasion. I believe that you should inline it.