May 24, 2008 Re: jface executable size down from 14 MB to 3 MB | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit Attachments:
| I think it's too big is because: http://svn.dsource.org/projects/dwt/downloads/win32/examples/ . all the examples of less than 300kb. and http://hg.dsource.org/projects/dwt-samples examples size is between 2.5 ~ 6m. |
May 24, 2008 Re: jface executable size down from 14 MB to 3 MB | ||||
---|---|---|---|---|
| ||||
Posted in reply to Long Chang | Hello Long,
> I think it's too big is because:
> http://svn.dsource.org/projects/dwt/downloads/win32/examples/ .
> all the examples of less than 300kb.
> and http://hg.dsource.org/projects/dwt-samples examples size is
> between 2.5
> ~ 6m.
Hmmm, that is a significant difference. And it doesn't look like those executables are compressed. Thanks for pointing this out. This bears some looking into to.
-JJR
|
May 24, 2008 Re: jface executable size down from 14 MB to 3 MB | ||||
---|---|---|---|---|
| ||||
Posted in reply to Long Chang | Hello Long,
> I think it's too big is because:
> http://svn.dsource.org/projects/dwt/downloads/win32/examples/ .
> all the examples of less than 300kb.
> and http://hg.dsource.org/projects/dwt-samples examples size is
> between 2.5
> ~ 6m.
I looked into this. These are packed with ASPack 2.11 which causes most of them to be shrunk by about 75% or more.
I'm testing ASPack on some of the Dwt 3.4M7 examples right now to see how small they get.
-JJR
|
May 24, 2008 Re: jface executable size down from 14 MB to 3 MB | ||||
---|---|---|---|---|
| ||||
Posted in reply to yidabu | Hello yidabu,
> by set dsss oneatatime=yes, and build static dwt.lib, dwtx.lib, jface
> executable size down from 14 MB to 3 MB, and executable compile time
> down from 60 seconds to 9 seconds.
>
> It's a great news for dwt fans!
>
> D 语言-中文(D Chinese):
> http://www.d-programming-language-china.org/
> http://bbs.d-programming-language-china.org/
> http://dwin.d-programming-language-china.org/
> http://scite4d.d-programming-language-china.org/
In what section do you put "oneatatime=yes"... I'm confused because in the past doing this made the compiletimes much longer. This is why oneatatime=off was originally suggested.
I tested setting it to "yes" today and it made the compile time extraordinarily long again. Perhaps you are saying that the library takes a long time to compile, but the executable compile time is fast?
-JJR
|
May 25, 2008 Re: jface executable size down from 14 MB to 3 MB | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Reimer | On Sat, 24 May 2008 14:11:40 +0000 (UTC) John Reimer <terminal.node@gmail.com> wrote: > In what section do you put "oneatatime=yes"... I'm confused because in the past doing this made the compiletimes much longer. This is why oneatatime=off was originally suggested. > > I tested setting it to "yes" today and it made the compile time extraordinarily long again. Perhaps you are saying that the library takes a long time to compile, but the executable compile time is fast? > > -JJR yes, once put "oneatatime=yes", library takes a long time to compile, even takes several hours to compile the dwt-addons svn, but the executable compile time is fast. -- yidabu <yidabu.spam@gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/ |
Copyright © 1999-2021 by the D Language Foundation