summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-02-06 15:38:34 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-16 01:57:22 +0100
commite0d26ebe2e09c3d5756859972f9a71873786318a (patch)
tree5cff261a5bcc4c23533b9354daeabe40e72c05ca /tests/auto/corelib/io
parent6a6425dff5fb12bf7522dd3c0894a43336667263 (diff)
qmetaobjectbuilder: Store only unique strings in the string table
Do like moc: If the string has already been entered into the table, just return its position, don't make a new copy. This can save space, for example, if there are several properties of the same type; the typename only occurs once in the string table but will be referenced by several property descriptors. Change-Id: Ic0087697716cab1c6449ea51c0c758a6fd1a1c82 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io')
0 files changed, 0 insertions, 0 deletions