Re: BDS2006 exe sizes
- From: Rob Kennedy <me3@xxxxxxxxxxx>
- Date: Sat, 25 Feb 2006 01:52:33 -0600
Ian wrote:
On Fri, 24 Feb 2006 06:28:44 GMT, Uffe Kousgaard wrote:Did you just decide to drop BDS2006 just because one file is
slightly bigger than the other?
Slightly? I don't consider 25,600 bytes a slight increase. In D7, a simple console application is only 16,384 bytes.
You need to agree on exactly what code you're using. The code Dodgy showed (duplicated below) is Delphi's default console-mode program. Note that it includes the SysUtils unit, which drags in a lot of exception-related code. Ian, the size you just cited suggests you didn't include SysUtils in your code. That would account for the great difference in size.
In Delphi 2005, a console-mode program with SysUtils is about 40 KB. Without SysUtils, it's about 13.5 KB.
program Project1;
{$APPTYPE CONSOLE}
uses
SysUtils;
begin
writeln('Hello World');
end.
I wonder how you see this program as a test of a compiler's efficiency. The compiler only processes one line of code. (And I suspect the code generated by the compiler for that line hasn't changed by more than a few bytes over the past decade.)
--
Rob
.
- Follow-Ups:
- Re: BDS2006 exe sizes
- From: Ian
- Re: BDS2006 exe sizes
- References:
- BDS2006 exe sizes
- From: Ian
- Re: BDS2006 exe sizes
- From: Uffe Kousgaard
- Re: BDS2006 exe sizes
- From: Ian
- Re: BDS2006 exe sizes
- From: Uffe Kousgaard
- Re: BDS2006 exe sizes
- From: Ian
- BDS2006 exe sizes
- Prev by Date: Re: BDS2006 exe sizes
- Next by Date: Re: BDS2006 exe sizes
- Previous by thread: Re: BDS2006 exe sizes
- Next by thread: Re: BDS2006 exe sizes
- Index(es):
Relevant Pages
|