0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Anki-Android/AnkiDroid
Damien Elmes 5f4c8c6be2 Don't store collection reference in DeckTreeNode
Pass it in to processChildren() instead, which is cleaner, and will
work better with the move to a backend method.

Speed up deck list by rendering it with the backend

This delegates to the backend to render the deck tree, instead of
calculating it in Java. On @Arthur-Milchior's large collection with the
daily limits turned up, the speed difference in an x86_64 sim is
dramatic: 2.4s with the old Java code, and 70ms with the new Rust code.

- Make deckDueList() private; switch callers to use deckDueTree()
The backend only provides a deckDueTree(), and switching the calls to
deckDueList() now will make migration easier in the future.

Squashed from #11599
2022-06-29 11:12:19 -05:00
..
src Don't store collection reference in DeckTreeNode 2022-06-29 11:12:19 -05:00
.gitignore Remove spurious .idea folder 2015-03-24 10:09:42 +09:00
build.gradle Update to Anki 2.1.54 backend 2022-06-29 11:12:19 -05:00
jacoco.gradle build(deps): bump jacoco from 0.8.7 to 0.8.8 2022-04-25 22:25:52 -05:00
kotlinMigration.gradle refactor: Convert Storage to Kotlin 2022-06-29 07:22:08 -05:00
proguard-rules.pro Implemented ImageCropper library 2021-06-30 18:57:48 -05:00
robolectricDownloader.gradle test(robolectric): update robolectric jars list to match currently used 2022-03-27 22:48:13 -05:00