Faster GeoIP lookups.

QCache results in speed decrease.
See https://github.com/qbittorrent/qBittorrent/pull/3488#issuecomment-124731983
This commit is contained in:
sledgehammer999
2015-07-25 01:17:17 +03:00
parent ef5b3b90c3
commit ad7ad8f596
2 changed files with 2 additions and 11 deletions

View File

@@ -68,7 +68,6 @@ namespace Net
bool m_enabled;
GeoIPDatabase *m_geoIPDatabase;
mutable QCache<QHostAddress, QString> m_cache;
static GeoIPManager *m_instance;
};