www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/20/02:56:38

From: "Anthony.Appleyard" <MCLSSAA2 AT fs2 DOT mt DOT umist DOT ac DOT uk>
Organization: Materials Science Centre
To: djgpp AT delorie DOT com
Date: Fri, 20 Feb 1998 07:52:38 GMT
Subject: Re: overlaying
Reply-to: Anthony DOT Appleyard AT umist DOT ac DOT uk
Message-ID: <1677E6B7CD1@fs2.mt.umist.ac.uk>

  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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019