Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!purdue!decwrl!labrea!csli!gandalf
From: gandalf@csli.STANFORD.EDU (Juergen Wagner)
Newsgroups: comp.lang.prolog
Subject: Re: Prolog and Paging
Message-ID: <6580@csli.STANFORD.EDU>
Date: 29 Nov 88 04:20:46 GMT
References: <18288@shemp.CS.UCLA.EDU>
Reply-To: wagner@arisia.xerox.com (Juergen Wagner)
Organization: Center for the Study of Language and Information, Stanford U.
Lines: 14

It depends. If your PROLOG is doing a GC, during that time a VA_ANOM or
VA_SEQL might help improve performance. However, a simple mark and sweep
strategy which traverses into widely spread out list structures would not
support efficient memory management very much.

The actual improvement of performance depends on your program (loops are
better than heavy use of mutual recursion). I guess, as long as people are
writing Prolog-style programs in Prolog (as opposed to procedural ones), you
can always find a non-trivial application which makes life hard for your
swapper.

-- 
Juergen Wagner		   			gandalf@csli.stanford.edu
						 wagner@arisia.xerox.com