Re: [fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements

2005-05-29 Thread Matthias Hryniszak
- Original Message - From: Florian Klaempfl [EMAIL PROTECTED] To: FPC developers' list fpc-devel@lists.freepascal.org Sent: Saturday, May 28, 2005 11:20 PM Subject: Re: [fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements Besides I find

Re: [fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements

2005-05-29 Thread Matthias Hryniszak
- Original Message - From: Florian Klaempfl [EMAIL PROTECTED] To: FPC developers' list fpc-devel@lists.freepascal.org Sent: Saturday, May 28, 2005 11:20 PM Subject: Re: [fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements Besides I find

Re: [fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements

2005-05-29 Thread Jonas Maebe
On 29 May 2004, at 12:21, Matthias Hryniszak wrote: In addition comparing the sources of VCL and FCL they don't differ that much and the source isn't that much bigger so by this kind of differences the problem must lie with compiler/linker. Have you tried using smart linking? (-XX)

Re: [fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements

2005-05-29 Thread Peter Vreman
At 12:55 29-5-2005, you wrote: Daniƫl Mantione wrote: Op Sat, 29 May 2004, schreef Matthias Hryniszak: In addition comparing the sources of VCL and FCL they don't differ that much and the source isn't that much bigger so by this kind of differences the problem must lie with compiler/linker.

Re: [fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements

2005-05-29 Thread Jamie McCracken
Some things that will affect executable size include: 1) Over zealous use of inlining (I dont see a command option to control how much inlining is done) There is almost none in the rtl. Doesn't the compiler attempt to inline small functions/methods automatically as part of its

Re: [fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements

2005-05-29 Thread Jonas Maebe
On 29 May 2005, at 13:26, Jamie McCracken wrote: There is almost none in the rtl. Doesn't the compiler attempt to inline small functions/methods automatically as part of its optimisation (even if the inline directive is not specified)? No. Jonas

Re: [fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements

2005-05-29 Thread Peter Vreman
There is almost none in the rtl. Doesn't the compiler attempt to inline small functions/methods automatically as part of its optimisation (even if the inline directive is not specified)? No. The inline directive is only a hint to the compiler. The behaviour is the same in D2005. Peter

Re: [fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements

2005-05-29 Thread Jonas Maebe
On 29 May 2005, at 14:03, Jamie McCracken wrote: well thats soemthing you should add to your to do list. There are plenty of things on our todo list already to keep us busy :) We've already talked about automatic inlining in the past, but nobody has spent time on it yet afaik. Jonas

Re: [fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements

2005-05-29 Thread Jamie McCracken
well thats soemthing you should add to your to do list. Automatic inlining can deliver a signifcant performance improvement especially as delphi uses a lot of one line procedures to set property values. A fucntion call adds quite a bit of overhead (around 10+ clock cycles at a guess) But

Re: [fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements

2005-05-29 Thread Florian Klaempfl
Jamie McCracken wrote: well thats soemthing you should add to your to do list. Automatic inlining can deliver a signifcant performance improvement especially as delphi uses a lot of one line procedures to set property values. A fucntion call adds quite a bit of overhead (around 10+ clock