Is Delphi XE6 the first Delphi which makes executables smaller than previous version? :)

Is Delphi XE6 the first Delphi which makes executables smaller than previous version? :)

Below are file sizes for empty VCL and FireMonkey projects.

VCL application is bigger as usual:
XE5: 2 104 320 bytes
XE6: 2 260 992 bytes

But for FireMonkey Desktop Application the numbers are:
XE5: 5 297 152 bytes
XE6: 5 052 928 bytes

Comments

  1. and make a test with delphi 2009 or xe2...

    ReplyDelete
  2. I think they separate some modules in fmx, so it's true for a very empty app, but not for real app, for ex. my app became a little more in size...
    And for android app with one button:
     xe5: apk - 5,1Mb, on device - about 26Mb 
     xe6: apk - 5,8Mb, on device - 27,4Mb/59Mb -in RAM  (added "warning' libs for all platforms, grow up classes.dex)

    ReplyDelete
  3. Sergionn Rad, my DLLs and BPLs are a little bit smaller. For instance,

    SourceOddity_XE5.bpl - 936 448
    SourceOddity_XE6.bpl - 924 160

    ReplyDelete
  4. Roman Yankovsky may be responsible for compilers remembered that for once a good idea to optimize a little bit, a couple of three bytes...

    ReplyDelete
  5. it's not a compiler case, you can build very tiny app with XE5 http://cc.embarcadero.com/Item/29682

    ReplyDelete

Post a Comment