qt5base-lts/src
Thiago Macieira 5fcee88097 Abuse const_cast in QStringBuilder to get a little more performance
Without this const_cast, the call to QString::data() or
QByteArray::data() will cause a call to detach(), which is totally
unnecessary since we've just allocated data a couple of lines before.
Since we know we're the owner of the only reference, we can skip the
detach attempt.

Change-Id: If40f66100f85cc9b405025f21c562828ead23475
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2014-01-18 04:39:23 +01:00
..
3rdparty Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
android Support multiple native surfaces on Android. 2014-01-17 10:23:08 +01:00
angle d3dcompiler_qt: Place compiler options in the shader file name 2014-01-18 04:39:19 +01:00
concurrent QtConcurrent: Workaround GCC bug 58800 in median calculation 2013-12-03 11:45:18 +01:00
corelib Abuse const_cast in QStringBuilder to get a little more performance 2014-01-18 04:39:23 +01:00
dbus Add method to QDBusServer to allow anonymous client connections. 2014-01-15 14:15:22 +01:00
gui Improve caching in ensureColumnAndRowData() 2014-01-18 04:39:21 +01:00
network expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
opengl Support multiple native surfaces on Android. 2014-01-17 10:23:08 +01:00
openglextensions
platformsupport eglfs: Move reusable functionality to eglconvenience 2014-01-17 14:30:48 +01:00
plugins QNX: Avoid crashing on exit when have a cover window 2014-01-17 14:32:50 +01:00
printsupport expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
sql Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
testlib Extend QTRY_COMPARE and QTRY_VERIFY macros 2014-01-13 10:02:10 +01:00
tools Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
widgets QWizard: Fix frame when using Vista style/MSVC2012 2014-01-17 10:22:05 +01:00
winmain Replace win32-g++ with mingw scope 2014-01-17 12:08:24 +01:00
xml expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
src.pro Introducing d3dcompiler_qt 2013-12-09 10:27:28 +01:00