[qet] [GIT] qet/qet.git branch master updated. 0.9-dev-136-gb6cfc8c

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


This is an automated email from git. It was generated because a ref
change was pushed to the "qet/qet.git" repository.

The branch, master has been updated
       via  b6cfc8c755a70f2e1b98fe0b991c7599d25a5679 (commit)
      from  820a01cb7d38c5b4dfc2e59f986c1bbabcf2f474 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b6cfc8c755a70f2e1b98fe0b991c7599d25a5679
Author: joshua <Joshua@xxxxxxxxxxxxxxxx>
Date:   Sun Apr 18 20:03:13 2021 +0200

    Improve element collection loading time
    
    According to Qt creator flame graph, call QSettings take lot of time.
    When loading the element collection, each items of the collection get
    the current language by calling the function QString
    QETApp::langFromSetting().
    This function instantiate a QSettings object each time and take a lot of
    time.
    Now the QSettings is instantiate only at the first call, and the value
    is stored in memory, then all other call of the function don't
    instantiate a QSettings, but just return the value in memory.

-----------------------------------------------------------------------

Summary of changes:
 sources/qetapp.cpp | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
qet/qet.git



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/