[bt-devel] Likes and dislikes

Joachim Ansorg bt-devel@crosswire.org
Thu, 2 Mar 2000 20:24:21 +0000


Hi!
 
>     > Perhaps we could optimize the functions to retrieve the keys
>     > (CKeyChain) ? I think the keys are stored in the module, perhaps
>     > we get them directly there?
> 
> As far as I remember I build the key chain only once and than with all
> elements, no matter if you only display 100 in toolbar or all. Since the
> display time was reasonable (in my eyes) when we only displayed some
> keys this is not the playes to optimize. The writing into the ComboBox
> must be optimized.

I tested the lexicon presenter without adding items to the combobox. The
startup time is almost the same. I think QList<CKeyChain> is the part consuming
moost of the startup time of a presenter.

I don't understand the concept of CKeyChain. Why does CKeyChain contain a list
with max verses etc? Why do you use a list of CKeyChain?



-- Joachim
BibleTime - the bible study program for KDE
http://www.bibletime.de/
info@bibletime.de