Andrew
|
3e17ab2b06
|
Optimise and test IP2Country (#1684)
* Move ipv4Int to top level
* Remove redundant fun calls in ipv4ToCountry
* Add null safety to loadFile
* Close streams on failure
* Simplify cacheCountryForIP
* Add IP2CountryTest
* Generate binary
* Simplify ipv4Int
* Fix companion object visibility
* Use array instead of Treemap
* Synchronize OnionApi#paths
* Move csv
* Deduplicate locations csv
* Move ipToCode to gradle
* Use std lib binarySearch
---------
Co-authored-by: bemusementpark <bemusementpark>
|
2024-10-23 13:48:29 +11:00 |
|