diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-08-14 08:46:30 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-04-05 17:02:30 +0000 |
commit | f1530d0be1ec9b2fc076188b488c6347298c4c28 (patch) | |
tree | d81b5723c445f2885293997ef95f0eecf0a933b0 /header.LGPL21 | |
parent | f02b849e9721f030af7147d1fed28ce7564b95a2 (diff) |
Optimize QString::section(QString)
The port from split() to splitRef() speeds up typical section()
calls (where the separator is included) by ca. 1/3.
The complete truth includes that section() calls where the
separator is not found seem to have gotten twice slower.
But that's a corner-case.
Change-Id: I7e957cb65fccfd095ac522d523aef3464425e4e4
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'header.LGPL21')
0 files changed, 0 insertions, 0 deletions