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

My argument is that extra indirection makes reading code harder (basically the reader has to scroll to the function definition to read what it does).

Here, it's a 3-liner, so I think that the readability would be improved by inlining it. For long functions, the tradeoff would be different.