QLocale: Merge month name data storage to save 50KB memory
authorJohn Layt <jlayt@kde.org>
Sat, 31 Mar 2012 20:14:20 +0000 (21:14 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 3 Apr 2012 17:12:27 +0000 (19:12 +0200)
commitab3837f86f84fc92b13ad0a79f6d41ba6252deb5
treed8439a987beda5899cdab7253a8ecd739201fcc2
parent33984e72abf6c3aa1fed37740d8731c96f68d6e2
QLocale: Merge month name data storage to save 50KB memory

Month Names and Standalone Month Names are stored separately, but for
majority of locales the names are the same and so storage is duplicated.
By storing both sets of names in the same array 50KB is saved in
libQtCore.so on Linux.

Depends on change Ic84bbc82 in branch api_review for CLDR 1.9.1

Change-Id: I83224ebc2180ee6de69797fa50d38348acc94107
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
src/corelib/tools/qlocale.cpp
src/corelib/tools/qlocale_data_p.h
util/local_database/qlocalexml2cpp.py