9990a10161
The original rationale was avoiding a possible O(n) insertion if the learning card was due outside the cutoff, but the increased code complexity doesn't seem worth it, given that learning cards will rarely grow above 1000. Also added a currently-disabled test that demonstrates the current undo handling behaviour is yielding incorrect counts; that will be reworked in the next commit, and this change will make that easier. |
||
---|---|---|
.. | ||
.cargo | ||
build | ||
cargo | ||
i18n | ||
src | ||
templates | ||
tests/support | ||
.clang-format | ||
.gitignore | ||
backend.proto | ||
BUILD.bazel | ||
Cargo.toml | ||
clang_format.bzl | ||
empty.rs | ||
proto_format.py | ||
README.md | ||
rustfmt.bzl | ||
rustfmt.toml |
Anki's Rust code.
backend.proto stores the interfaces used to communicate backend messages between Rust, Python and TypeScript.