Subject: Re: hp48sx: variable rename? Date: 1 Apr 91 21:07:02 GMT Organization: Digital Equipment Corporation Lines: 28 -- In article <nelson.670529956@skid.ps.uci.edu>, nelson@skid.ps.uci.edu (Matt Nelson) writes: >This is fine for most objects, but renaming directories in >this fashion is extremely memory-intensive (it creates a second copy of the >entire directory on the stack) and very slow. Actually, a copy of the directory is not created on the stack, unless you execute NEWOB. You can prove this by changing something in the directory after you have recalled it to the stack -- the stack display will change as well. A copy is created when you store the directory in a new object, or when you edit it. If you are doing the renaming by hand -- recalling the directory, typing the new name, storing it, et cetera -- then part of the speed problem is the time to format and display the directory. You can suppress this by using a program to rename objects: \<< \-> old new \<< old RCL new STO old PURGE \>> \>> This will still use memory because two copies of the directory are in memory at once, but it should be faster. -- edp (Eric Postpischil) "Always mount a scratch monkey." edp@jareth.enet.dec.com