[PATCH] KSpell2 improvement

Dirk Mueller mueller at kde.org
Mon Mar 27 17:47:14 BST 2006


On Monday, 27. March 2006 18:34, Thiago Macieira wrote:

> Second, you construct allLocalizedDictionaries at every call to
> languagesName. That sounds like a waste. I had recommended to implement
> it with a static list instead, built on first use.

Huh? Its all global const, there is no need to do a onconstruction hook. 

> For the KDE4 code, I recommend using Q_GLOBAL_STATIC_WITH_ARGS:

Why? bloating startup even more?


-- 
Dirk//\




More information about the kde-core-devel mailing list