willemliu/EasyList-Harmattan — pull request #3 by staskray (2011-11-28 09:43:42+00:00)
Title: Perf tuning

Hi,

here are some tunings to amount of SQL statements executed, hope it helps to improve startup time a little.
Changes:
* moved DB initialization statemens to db.js initDb(). The function is invoked from ezConsts.js before the first getProperty is called.
* replaced DROP TABLE with DELETE FROM TABLE to just clear data without need to re-create tables.
Unfortunately, the initDb() function is called on evey qml loaded, becase every QML pae has its own space for javascript.

/Stanislav