qt5base-lts/src
Thiago Macieira 267b1a791d Optimise the deletion of a QSharedPointer with no custom deleter
When QSharedPointer is created with no user-specified custom deleter,
instead of storing a pointer in ExternalRefCount::destroyer to a
static function which, in turn, calls normalDeleter<T> indirectly (via
another function pointer), specialise the CustomDeleter class and make
it not store the pointer, but instead do the deleting directly.

The benefits are:
 - the QSharedPointer's private data is smaller
 - there is no double-indirection via indirect jumps to the actual
 deleter

Change-Id: Ice5653c144912efb1226e432267a047b9799aaca
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-10-10 08:45:22 +02:00
..
3rdparty Remove Windows CE time conversion compatibility functions 2012-09-26 07:11:01 +02:00
concurrent Move QFutureSynchronizer back to QtCore 2012-09-28 23:50:10 +02:00
corelib Optimise the deletion of a QSharedPointer with no custom deleter 2012-10-10 08:45:22 +02:00
dbus qdbusmetatype_p.h: add missing QT_NO_DBUS guards 2012-09-24 21:28:40 +02:00
gui Handle additional format ranges when itemizing. 2012-10-08 17:22:56 +02:00
network Implementation of the BlackBerry Qt Proxy support. 2012-10-08 11:14:28 +02:00
opengl OpenGL: Don't request a context version higher than is supported 2012-10-03 17:22:03 +02:00
platformsupport Accessibility: For app claim support for app iface. 2012-10-03 17:34:44 +02:00
plugins Fix wheel events in Windows 2012-10-10 06:51:12 +02:00
printsupport Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
sql QSqlQuery::value string overload 2012-10-08 08:55:28 +02:00
testlib Make QUrl::errorString() usable for QtTest output in invalid URLs 2012-10-02 22:34:42 +02:00
tools QDoc/Bootstrap library: fix link error on Windows 2012-10-09 18:07:00 +02:00
widgets Don't try to emit focusObjectChanged if window pointer is zero 2012-10-10 06:50:23 +02:00
winmain Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
xml Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
src.pro src.pro: remove redundant & incorrect platformsupport dependency 2012-08-25 10:29:53 +02:00