summaryrefslogtreecommitdiffstats
path: root/src/script
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-06-25 14:05:25 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-06-25 14:08:42 (GMT)
commit860094d4e2614c0926f2af0e3538412ece31f726 (patch)
tree1f634b4db962e3a4fd07228e7ea41253ba51e3cd /src/script
parent075648e46650797f2b520f98513a7aed9f0ffec7 (diff)
downloadQt-860094d4e2614c0926f2af0e3538412ece31f726.zip
Qt-860094d4e2614c0926f2af0e3538412ece31f726.tar.gz
Qt-860094d4e2614c0926f2af0e3538412ece31f726.tar.bz2
Avoid memory allocation when converting from Gbk to unicode.
This change is the equivalent of 19e1b32bdeeeb5c7865038cab97b40dbac0e6c42 and 987458462994497f764baf253baca0faabdb63cc but for the Gbk case. It improve performance by avoiding the constructor of QChar and by allocating the memory once instead of doing it for each character. This also fix QTBUG-11704. Reviewed-by: Andreas Kling
Diffstat (limited to 'src/script')
0 files changed, 0 insertions, 0 deletions