session-android/libsession
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
..
src Optimise and test IP2Country (#1684) 2024-10-23 13:48:29 +11:00
.gitignore restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
build.gradle Strings work 2024-09-06 08:30:03 +10:00