Anki/tests
Damien Elmes 4302306fe9 use a checksum for field values; fixed import->update number
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.
2011-04-28 09:21:06 +09:00
..
deck support media for memory backed files 2009-01-04 07:40:32 +09:00
importing remove views and pre 0.9.9.8.6 upgrade code; upgrade test decks to 0.9.9.8.6 2011-04-28 09:21:06 +09:00
syncing/media-tests remove views and pre 0.9.9.8.6 upgrade code; upgrade test decks to 0.9.9.8.6 2011-04-28 09:21:06 +09:00
__init__.py initial commit from hg 2008-09-27 23:50:03 +09:00
shared.py initial commit from hg 2008-09-27 23:50:03 +09:00
test_deck.py use a checksum for field values; fixed import->update number 2011-04-28 09:21:06 +09:00
test_exporting.py don't backup in unit tests 2010-02-20 10:03:47 +09:00
test_importing.py add ability to update fields when importing 2010-11-26 01:36:24 +09:00
test_media.py rewrite media support 2010-12-11 01:19:31 +09:00
test_sync.py remove priorities 2011-04-28 09:21:06 +09:00
test_utils.py do need to rebuild counts on export 2008-11-21 15:46:17 +09:00