qt5base-lts/src/corelib
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
..
animation [QTBUG-13230] Make QVariantAnimation non-abstract 2012-10-09 00:24:14 +02:00
arch Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
codecs Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
doc Doc: Update QThread class ref to reflect changes since Qt 4.4 2012-10-08 09:16:12 +02:00
global Tools: add QLibraryInfo to the bootstrapped library. 2012-10-08 17:14:24 +02:00
io Fix Windows: QStandardPath::findExecutable() to check suffixes. 2012-10-08 17:21:35 +02:00
itemmodels Add docs to clarify and restrict what the LayoutChangeHint means. 2012-10-05 03:16:14 +02:00
json Remove duplicate words and punctuation from documentation. 2012-09-26 04:03:20 +02:00
kernel Add QEvent::StyleAnimationUpdate: style animation target should update 2012-10-09 00:46:01 +02:00
mimetypes Remove duplicate words and punctuation from documentation. 2012-09-26 04:03:20 +02:00
plugin Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
statemachine Make QSignalTransition take a pointer-to-const QObject 2012-09-26 10:08:59 +02:00
thread Doc: Update QThread class ref to reflect changes since Qt 4.4 2012-10-08 09:16:12 +02:00
tools Optimise the deletion of a QSharedPointer with no custom deleter 2012-10-10 08:45:22 +02:00
xml Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
corelib.pro Fix compilation for win32-g++ and C++11 2012-09-13 16:47:33 +02:00
eval.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
Qt5CoreConfigExtras.cmake.in Create IMPORTED CMake targets for executables. 2012-07-25 13:59:15 +02:00
Qt5CoreMacros.cmake CMake: Improve QT5_GET_MOC_FLAGS macro 2012-10-04 11:58:48 +02:00
Qt5CTestMacros.cmake Specify the --build-config when invoking ctest. 2012-09-24 18:01:05 +02:00
QtCore.dynlist Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00