mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 14:45:47 +03:00
2baf63d809
- Methods had ambiguous signatures (parameterized compare<T> overlapped the various typed compare()). This made the compiler very confused. - In several places throughout the app, AlphaNumComparator was getting repeatedly instantiated just to manually call a typed compare(). This was very wasteful To solve both problems, the typed compare() methods have been been made static. The performance gains of not instantiating the comparator repeatedly are very noticeable. In a test loading a local folder for upload with 1000 files in it, time of load is reduced from 28 seconds to 17 seconds. Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com> |
||
---|---|---|
.. | ||
assets | ||
disabledTests | ||
java/com | ||
AndroidManifest.xml |