diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-10-20 21:45:10 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-11-08 15:19:55 +0000 |
commit | 99baa0d4401516cff978cab8a7102fc0a25731a9 (patch) | |
tree | 9627c8ee0151aa8777732d2f4816cd97c8bbe65f /src/corelib/serialization | |
parent | 66a2d159073bfbeec53a0b9e09575c3fe9beac8d (diff) |
Optimize QTextCodec::codecForUtfText a little
Instead of doing byte comparisons, let the compiler do 16- and 32-bit
comparisons on its own.
Change-Id: If7e743cf8476463880ccfffd155f8629991b0b87
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/corelib/serialization')
0 files changed, 0 insertions, 0 deletions