🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5774

VM questions in Blue Book

#5774
From: zzang
Date: Sun, 22 Nov 1992 02:31
38 lines
1217 bytes
Hello,
I am reading the Blue Book, and I like
it very much. but it is hard for me
to understand the virtual memory.
what is the virtual memory, is it
something about the disk spaces used
by the program to extend the RAM
capability?

here is the example from the book:
(Copyright by Adobe)

1:
/localdict 1 dict def
/sampleproc
  { localdict begin
      /localvariable 6 def
    end
  } def

2:
/sampleproc
  { 1 dict begin	%this allocates new VM each time
    /localvariable 6 def
    end
  } def	


the book says the 2nd procedure will use more memory.
but they look the same to me, I am totally confused.
could someone explain this.

Thanks very much in advance!

-- 
Zhuo Zang[~{j0WA~}]
Department of Statistics
University of Florida            Email: zzang@stat.ufl.edu
Technical Details
Message-ID: <1992Nov22.023126.825@eng.ufl.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!eng.ufl.edu!manta!zzang

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!eng.ufl.edu!manta!zzang
From: zzang@stat.ufl.edu (zzang)
Subject: VM questions in Blue Book
Message-ID: <1992Nov22.023126.825@eng.ufl.edu>
Originator: zzang@manta
Sender: news@eng.ufl.edu (Usenet Diskhog System)
Organization: University of Florida
Distribution: usa
Date: Sun, 22 Nov 92 02:31:26 GMT
Lines: 38