mirror of
https://github.com/ankitects/anki.git
synced 2026-01-11 21:13:55 -05:00
After the changes in sort_learning, the learning queue is no longer sorted purely by the due timestamp when the queue contains never-attempted cards. This breaks take_while and skip_while, which stop at the first card that doesn't match the condition, potentially skipping cards that are actually due now. Using filter has a potential performance impact because all intraday learning cards must now be processed instead of just the ones that are within the cutoff. But, in practice, the impact is negligible because filtering is extremely fast and manual testing with large queues showed no noticeable difference. The correct behavior is worth the minimal trade-off. |
||
|---|---|---|
| .. | ||
| benches | ||
| i18n | ||
| io | ||
| linkchecker | ||
| process | ||
| proto | ||
| proto_gen | ||
| src | ||
| sync | ||
| tests/support | ||
| .gitignore | ||
| bench.sh | ||
| build.rs | ||
| Cargo.toml | ||
| README.md | ||
| rust_interface.rs | ||
Anki's Rust code.