Re: [Development] QtCore is 2 MB larger in Qt 5

2012-07-31 Thread lars.knoll
On Jul 13, 2012, at 3:09 PM, ext Thiago Macieira wrote: [snip] 57900 .obj/release-shared/qeuckrcodec.o:.rodata 0xe22c 0x0 134944 .obj/release-shared/qbig5codec.o:.rodata 0x20f20 0x0 133792 .obj/release-shared/qjpunicode.o:.rodata 0x20aa0 0x0 117842 .obj/release-shared/qgb1803

Re: [Development] QtCore is 2 MB larger in Qt 5

2012-07-13 Thread Thiago Macieira
On sexta-feira, 13 de julho de 2012 13.11.15, Giuseppe D'Angelo wrote: > > 51877 .obj/release-shared/qsortfilterproxymodel.o:.text 0xcaa5 0x0 > > 36993 .obj/release-shared/qitemselectionmodel.o:.text 0x9081 0x0 > > Move from QtGui, i.e. QtGui decreased :-) Indeed it did. But comparing QtGui is qui

Re: [Development] QtCore is 2 MB larger in Qt 5

2012-07-13 Thread Thiago Macieira
On sexta-feira, 13 de julho de 2012 14.38.09, Olivier Goffart wrote: > On Friday 13 July 2012 13:11:15 Giuseppe D'Angelo wrote: > > Random thoughts: > > > > On 11 July 2012 20:22, Thiago Macieira wrote: > > > That's 63% bigger. > > > > > > Top 20 culprits: > > > > > > 251684 .obj/release-shared/qr

Re: [Development] QtCore is 2 MB larger in Qt 5

2012-07-13 Thread Thiago Macieira
On sexta-feira, 13 de julho de 2012 13.34.32, viv...@gmail.com wrote: > you may want to experiment a bit with `gcc --pram=large-function-growth=X` > that can change the mood of gcc quite a bit. > This message has no opinion or intention in this topic other than let > know this parameters exist and

Re: [Development] QtCore is 2 MB larger in Qt 5

2012-07-13 Thread Olivier Goffart
On Friday 13 July 2012 13:11:15 Giuseppe D'Angelo wrote: > Random thoughts: > > On 11 July 2012 20:22, Thiago Macieira wrote: > > That's 63% bigger. > > > > Top 20 culprits: > > > > 251684 .obj/release-shared/qrc_mimetypes.o:.rodata 0x3d724 0x0 > > Are the mimetypes alwasy included, even on GN

Re: [Development] QtCore is 2 MB larger in Qt 5

2012-07-13 Thread Giuseppe D'Angelo
Random thoughts: On 11 July 2012 20:22, Thiago Macieira wrote: > That's 63% bigger. > > Top 20 culprits: > > 251684 .obj/release-shared/qrc_mimetypes.o:.rodata 0x3d724 0x0 Are the mimetypes alwasy included, even on GNU/Linux systems that are supposed to have them around (in a "standard location"

Re: [Development] QtCore is 2 MB larger in Qt 5

2012-07-13 Thread viv...@gmail.com
> It was on linkonce sections. The attached script improves on it. > > Unfortunately, those sections are unpredictable, since they depend on the > compiler's mood in inlining or not inlining some things. For example, QList is > mostly unchanged in Qt 5, but this shows up: > you may want to experi

Re: [Development] QtCore is 2 MB larger in Qt 5

2012-07-11 Thread Konstantin Ritt
fixup: the third section is the size in Qt 5.0 and the fourth is the size in 4.8 the qstring's rodata size increased mostly because of switching to UCD 6.1 (which is quite bigger than UCD 5.0 used in Qt 4.8) + providing the Unicode Script property value for the entire Unicode code points range, no