Fast procedures for hamming distance computation, ranking, mAP computation. Fore deep-learning research in hashing and retrieval.