mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 21:57:12 -05: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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| anki10.py | ||
| csvfile.py | ||
| dingsbums.py | ||
| mnemosyne10.py | ||
| supermemo_xml.py | ||
| wcu.py | ||