OSDN Git Service

QUuid::toString() performance regression fix
authorIvailo Monev <xakepa10@gmail.com>
Fri, 10 Sep 2021 02:33:52 +0000 (05:33 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Fri, 10 Sep 2021 02:33:52 +0000 (05:33 +0300)
commit0671458656d6344fcc22c895c3f8d9f6da52104b
tree0336f4ca3cf6c9de8e5b9c47027e30dc8552cf85
parent4209a57e8ad94abdf07d5ef7473dfc0b66f91f95
QUuid::toString() performance regression fix

before:
**************************************************
 Tag                  * Ticks Katie/Qt4 (Winner) *
**************************************************
 createUuid_notag     : 1220/24600 (Katie)
 fromByteArray_notag  : 1383/2372 (Katie)
 fromChar_notag       : 1364/2472 (Katie)
 fromDataStream_notag : 2201/3028 (Katie)
 fromRfc4122_notag    : 705/796 (Katie)
 fromString_notag     : 1341/2536 (Katie)
 isNull_notag         : 591/340 (Qt4)
 operatorLess_notag   : 736/680 (Qt4)
 operatorMore_notag   : 738/760 (Katie)
 toByteArray_notag    : 1653/1876 (Katie)
 toDataStream_notag   : 2118/3424 (Katie)
 toRfc4122_notag      : 1223/1632 (Katie)
 toString_notag       : 115946/2020 (Qt4)

**************************************************
 Total                : 131219/46536 (Qt4)
**************************************************

after:
**************************************************
 Tag                  * Ticks Katie/Qt4 (Winner) *
**************************************************
 createUuid_notag     : 1386/26592 (Katie)
 fromByteArray_notag  : 1414/2340 (Katie)
 fromChar_notag       : 1427/2704 (Katie)
 fromDataStream_notag : 1871/2888 (Katie)
 fromRfc4122_notag    : 756/760 (Katie)
 fromString_notag     : 1369/2476 (Katie)
 isNull_notag         : 586/356 (Qt4)
 operatorLess_notag   : 713/688 (Qt4)
 operatorMore_notag   : 725/708 (Qt4)
 toByteArray_notag    : 1671/2052 (Katie)
 toDataStream_notag   : 2072/4140 (Katie)
 toRfc4122_notag      : 1197/1624 (Katie)
 toString_notag       : 1872/1932 (Katie)

**************************************************
 Total                : 17059/49260 (Katie)
**************************************************

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/plugin/quuid.cpp