diff options
author | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-03-06 18:05:53 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-03-07 16:30:53 (GMT) |
commit | 19e1b32bdeeeb5c7865038cab97b40dbac0e6c42 (patch) | |
tree | 343140d3cd2e5b0a6e272d2ae55a7c27c177ace6 /src/plugins/imageformats | |
parent | 1bf5e9b3c328a80e71e7deed3419ff9d442db3cb (diff) | |
download | Qt-19e1b32bdeeeb5c7865038cab97b40dbac0e6c42.zip Qt-19e1b32bdeeeb5c7865038cab97b40dbac0e6c42.tar.gz Qt-19e1b32bdeeeb5c7865038cab97b40dbac0e6c42.tar.bz2 |
Avoid memory allocations in conversion from Gb2312/Gb18030 to unicode
The previous implementation was using QString::operator+=() for
every converted character. This was resulting in thousands of
malloc, making those conversions slow.
Reviewed-by: Andreas Kling
Diffstat (limited to 'src/plugins/imageformats')
0 files changed, 0 insertions, 0 deletions