mafintosh/torrent-stream — pull request #63 by vivekvasani (2014-06-08 07:10:08+00:00)
Title: pre-convert all IPv4 addresses to Longs to speed up ip blocklist check

This will fix issue #62.

It will run ip.toLong() on all IP addresses once and store that value. Instead of performing the conversion on each peer IP check * the number of IPs in the blocklist array, which can become costly with large blocklists.