Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!nic.MR.NET!xanth!mcnc!thorin!surya!gupta From: gupta@surya.cs.unc.edu (Gopal Gupta) Newsgroups: comp.lang.prolog Subject: Variable Usage Patterns in Prolog Programs Keywords: prolog implementation, global & local stacks Message-ID: <6903@thorin.cs.unc.edu> Date: 21 Feb 89 22:53:32 GMT Sender: news@thorin.cs.unc.edu Lines: 15 Has anyone collected statistics on Prolog programs regarding the proportion between trailed-variables (conditional variables) residing in global stack and those residing in local stack of the WAM. That is, I want to know the general proportion between conditional-global and conditional-local variables for "average" Prolog programs. Does anyone know of any paper(s) where such statistics may be found. Thanks. --Gopal Gupta Dept. of Computer Science, gupta@unc.cs.unc.edu University of North Carolina, Chapel Hill, NC 27514.