Mail Archives: djgpp/1998/07/08/04:48:22
On Wed, 8 Jul 1998, Mariano Alvarez Fernández wrote:
> >Perhaps you can profile the code and find just what was so slow in the
> >previous version, then ask specifically.
>
> Yes, I profiled it and all the time is wasted whit __dpmi_int, as the
> 13.5 in the FAQ says.
This probably means that you call some DOS or BIOS function too
often. Can you identify that function and explain why do you need to
call it that much?
> 16-bit version (BC 3.0) 20"
> 32-bit version (DJGPP 2.01) 32"
> 32-bit version (DJGPP 2.02 980101) 11"
One thing that v2.02 changes is the way buffered file I/O works.
v2.02 adapts itself better to the specific use of buffered I/O
functions (sequential vs. random access), which should show in
programs that seek into files a lot. Perhaps your program is one of
those?
- Raw text -