mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
![]() Previously we had an index on the value field, which was very expensive for long fields. Instead we use a separate column and take the first 8 characters of the field value's md5sum, and index that. In decks with lots of text in fields, it can cut the deck size by 30% or more, and many decks improve by 10-20%. Decks with only a few characters in fields may increase in size slightly, but this is offset by the fact that we only generate a checksum for fields that have uniqueness checking on. Also, fixed import->update reporting the total # of available facts instead of the number of facts that were imported. |
||
---|---|---|
.. | ||
deck | ||
importing | ||
syncing/media-tests | ||
__init__.py | ||
shared.py | ||
test_deck.py | ||
test_exporting.py | ||
test_importing.py | ||
test_media.py | ||
test_sync.py | ||
test_utils.py |