diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-08 00:54:24 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-08 01:20:09 +0200 |
commit | 26155227c7b91d26d8897a0b8bbe3c78c368ce63 (patch) | |
tree | 7bec7d7a1df44becb47d308bc68ceb8265226a30 /src/stardict-private.h | |
parent | 36236955e5b75a764b8a8137f412946315e1cbd6 (diff) | |
download | tdv-26155227c7b91d26d8897a0b8bbe3c78c368ce63.tar.gz tdv-26155227c7b91d26d8897a0b8bbe3c78c368ce63.tar.xz tdv-26155227c7b91d26d8897a0b8bbe3c78c368ce63.zip |
Simplify the collation mess
Brings a bit worse performance on load since more memory is being
reordered but it seems to be worth it.
Diffstat (limited to 'src/stardict-private.h')
-rw-r--r-- | src/stardict-private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stardict-private.h b/src/stardict-private.h index 35630ed..5d3ae6a 100644 --- a/src/stardict-private.h +++ b/src/stardict-private.h @@ -56,6 +56,7 @@ struct stardict_index_entry gchar * name; ///< The word in utf-8 guint64 data_offset; ///< Offset of the definition guint32 data_size; ///< Size of the definition + guint32 reverse_index; ///< Word at this index before sorting }; struct stardict_synonym_entry |