7fc32db0c9
QTextEdit() will pin the CPU at 100% for seconds to minutes when fed a large string to display - work around it by switching to QPlainTextEdit(). Also strip HTML before showing the user - easier to read, and less text to display. And turn off word wrap, as it makes it easier to skim, and further reduces the work the widget needs to do. https://forums.ankiweb.net/t/big-issue-where-anki-gets-slow-when-you-import-this-deck/7050 |
||
---|---|---|
.. | ||
anki | ||
rsbridge | ||
tests | ||
tools | ||
.gitignore | ||
.isort.cfg | ||
.pylintrc | ||
BUILD.bazel | ||
mypy.ini | ||
orjson.bzl | ||
protobuf.bzl | ||
README.md |
Anki's Python library code is in anki/.
The Rust/Python extension module is in rsbridge/; it references the library defined in ../rslib.