Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-19 | Optimize KConfigIniBackend::parseConfig by reducing allocations. | Milian Wolff | |
Yet another awesome application of the Qt implicit sharing trick. Since config files often contain only few different keys and even value strings, we can share them. This reduces memory consumption and also speeds up parsing, as we do not have to allocate the duplicated strings, but can simply reuse the previous values. The most extreme case for this of my knowledge, is KatePart: katesyntaxhighlightingrc has more than 20k lines which triggered nearly 30k allocations on startup. With this patch applied, this value goes down dramatically. I added a simple static counter for the cache hit/miss ratio, which resulted in 5442 cache misses compared to 43624 cache hits across all KConfig files parsed by kwrite. REVIEW: 118587 This is a forward-port of b8aaeff128233cfaecf67899168887572589dde8. | |||
2014-06-12 | Simple Cleanups | Thomas Braxton | |
- use Q_NULLPTR instead of 0 or NULL - simplify some foreach loops - use QStringLiteral in a few places - added a few consts REVIEW: 118666 | |||
2014-05-12 | Fix lupdate warnings | Albert Astals Cid | |
/home/scripty/prod/git-unstable/frameworks_kconfig/src/core/bufferfragment_p.h:37: Ignoring definition of undeclared qualified class /home/scripty/prod/git-unstable/frameworks_kconfig/src/core/bufferfragment_p.h:37: Ignoring definition of undeclared qualified class | |||
2013-12-18 | Code reformatted using kde-dev-scripts/astyle-kdelibs. | David Faure | |
Use git blame -w 867e7a5 to show authorship as it was before this commit. | |||
2013-12-18 | Move kconfig code to the root directory. | Jenkins CI | |