More Info

Revision 698079

(Back to digest)
 

Optimization in Development Tools

Nick Shaforostoff committed changes in /trunk/playground/devtools/kaider/src:

more optimization:
-use utf8 for DB instead of utf16 (is it ok for langs like jp?): reduces db size by half
-store wordIndex in DB instead of memoryhash: increases db size by factor 1.3, decreases ram usage from 35mb to 25mb (18mb of which is libs) while kdelibs4.po is opened, +project and glossary loaded warning: this is not the last db scheme breakage :)
-split wordIndex into two ones: one is _preferred_ for strings with < 20 words, and vice versa
-use qlist instead of qvector for suggestions: really helps when qSorting
-use qvector instead of qstringlist for catalogitems: win ~200 kb when kstars.po is opened

features:
-added predefined list of language mailinglists to set the default value for project settings

File Changes

Added 1 files
/trunk/playground/devtools/kaider/src/project/kde-i18n-lists.h
Modified 23 files
/trunk/playground/devtools/kaider/src
 
/kaider.cpp
 
/kaiderview.cpp
 
/catalog/catalog.cpp
 
/catalog/catalogitem.cpp
 
/catalog/catalogitem.h
 
/catalog/catalogitem_private.h
 
/catalog/gettextimport.cpp
 
/common/diff.cpp
 
/common/flowlayout.cpp
 
/glossary/glossaryview.cpp
 
/glossary/tbxparser.cpp
 
/prefs/kaider.kcfg
 
/prefs/prefs_identity.ui
 
/project/prefs_projectmain.ui
 
/project/project.cpp
 
/project/project.h
 
/project/projectbase.kcfg
 
/project/projectview.cpp
 
/tm/jobs.cpp
 
/tm/jobs.h
 
/tm/tmview.cpp
 
/tm/tmview.h
 
/webquery/webqueryview.cpp
24 files changed in total