Anki/rslib
user1823 5e7cf1f9df
Update iterators to use filter instead of take_while
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.
2026-01-06 18:07:21 +05:30
..
benches Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
i18n feat: add i18n to launcher (#4361) 2025-09-27 16:58:46 +10:00
io Launcher tweaks 2025-06-20 16:13:50 +07:00
linkchecker Fixes for Rust 1.89 2025-09-01 14:55:49 +10:00
process Provide better output when downloading versions fails 2025-07-24 20:23:43 +07:00
proto Switch to Ruff (#4119) 2025-06-29 14:38:35 +07:00
proto_gen lazy_static → once_cell → stabilized versions (#3447) 2024-09-30 23:35:06 +10:00
src Update iterators to use filter instead of take_while 2026-01-06 18:07:21 +05:30
sync Refactor launcher + various tweaks 2025-06-27 16:10:12 +07:00
tests/support move linkchecker into separate crate 2021-12-20 17:27:43 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
bench.sh Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
build.rs Fix building outside workspace 2023-07-02 18:22:44 +10:00
Cargo.toml Feat/Desired retention info graphs (#4199) 2025-07-28 18:55:08 +10:00
README.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
rust_interface.rs Update to Rust 1.88 2025-06-29 11:50:49 +07:00

Anki's Rust code.