diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2012-02-06 15:38:34 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-16 01:57:22 +0100 |
commit | e0d26ebe2e09c3d5756859972f9a71873786318a (patch) | |
tree | 5cff261a5bcc4c23533b9354daeabe40e72c05ca /tests/auto/corelib/io | |
parent | 6a6425dff5fb12bf7522dd3c0894a43336667263 (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