Mail Archives: djgpp/2001/02/24/09:32:20
> From: Joe Wright <joewwright AT earthlink DOT net>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 24 Feb 2001 13:45:50 GMT
>
> Under 2.7.2.1 I produce a 49,152 byte .exe and with 2.952 67,584
> bytes.
Did you upgrade your library (i.e. djdevNNN.zip) as well? If so, an
additional 18KB or so sounds reasonable: the new library has more
functionality at its core. In addition, some functions, such as
`system', have grown significantly, but I don't know if you use them.
> I run the sort program in a DOS window on Win95. The sort fills the
> screen with the array to be sorted. With 2.7 this seems instantaneous.
> With 2.9 it is 'clunky'. Of course the sorts don't take the same amount
> of time each time due to the random nature of the data to be sorted but
> one of my sorts takes about 1500 microseconds in 2.7 and 2200
> microseconds in 2.9.
This slow-down sounds too much. Perhaps some code uses special tricks
which backfire with the new compiler. Or maybe you use some library
functions which got slower (assuming you upgraded the library).
Profiling and more details about the program might help.
- Raw text -