gecko-dev/mobile/android/app/assets
Sebastian Kaspari 2130ff7058 Bug 1311398 - Load public suffix list from disk and extract activity stream labels asynchronously. r=Grisha
Not really happy about the change but it addresses the problem.

* Loading the list from disk is much faster than parsing the string (2500ms vs. 30-50ms on a Nexus 6P)
* Because of (potential) disk I/O we are required to extract the label asynchronously on a background thread
* We load the list only once and then keep it in memory - like we did before the change.

MozReview-Commit-ID: 9MPGbmIGRnS

--HG--
extra : rebase_source : 8b31f852c6bb90fd57baeb07ba0066421d5a6e46
2016-11-02 13:56:43 +01:00
..
example_asset.txt
parental_controls_theme.png
publicsuffixlist Bug 1311398 - Load public suffix list from disk and extract activity stream labels asynchronously. r=Grisha 2016-11-02 13:56:43 +01:00