qt5base-lts/tests/benchmarks/corelib/tools
Robin Burchell 7be255156f Deprecate qMemCopy/qMemSet in favour of their stdlib equivilents.
Just like qMalloc/qRealloc/qFree, there is absolutely no reason to wrap these
functions just to avoid an include, except to pay for it with worse runtime
performance.

On OS X, on byte sizes from 50 up to 1000, calling memset directly is 28-15%
faster(!) than adding an additional call to qMemSet. The advantage on sizes
above that is unmeasurable.

For qMemCopy, the benefits are a little more modest: 16-7%.

Change-Id: I98aa92bb765aea0448e3f20af42a039b369af0b3
Reviewed-by: Giuseppe D'Angelo <dangelog@gmail.com>
Reviewed-by: John Brooks <john.brooks@dereferenced.net>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-04-11 10:46:19 +02:00
..
containers-associative Make some tests and benchmarks pass with QT_NO_QSTRINGBUILDER 2012-03-01 11:02:28 +01:00
containers-sequential Make some tests and benchmarks pass with QT_NO_QSTRINGBUILDER 2012-03-01 11:02:28 +01:00
qalgorithms Fixed benchmarks to work from install directory 2012-03-19 01:18:20 +01:00
qbytearray clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qchar Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qcontiguouscache Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qhash Remove qhash_faster. 2012-02-29 22:39:00 +01:00
qlist Fixed benchmarks to work from install directory 2012-03-19 01:18:20 +01:00
qmap Rewrite QMap to use a RB tree 2012-03-23 09:31:09 +01:00
qrect clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qregexp clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
qstring Fixed benchmarks to work from install directory 2012-03-19 01:18:20 +01:00
qstringbuilder Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstringlist Remove references to QT_NO_STL from QtCore 2012-04-07 05:19:42 +02:00
qvector Deprecate qMemCopy/qMemSet in favour of their stdlib equivilents. 2012-04-11 10:46:19 +02:00
tools.pro Rewrite QMap to use a RB tree 2012-03-23 09:31:09 +01:00