Mail Archives: djgpp/1998/02/20/02:56:38
Anthony.Appleyard wrote:
> ... what is the progress on run-time overlaying for djgpp?, for when a big
> program has a big subroutine that is called sometimes but not very often.
Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk> replied:-
> ... this just isn't a worthwhile or useful thing to bother with. In a
> virtual memory environment, the DPMI server is already perfectly capable of
> swapping out some rarely used subroutines to make room for other data, and
> it can do this far more flexibly than any kind of manual overlay scheme that
> you might implement yourself ...
But presumably the program has to run a while before the DPMI server can tell
that such a part of the program isn't obeyed much. If so, how can I give the
DMPI server a helping hand here by telling it at the start of the program that
e.g. "int* Han_Solo(int,FILE*,float(int,char)) isn't used much if at all, swop
it out if you want to."?
- Raw text -