home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
news
/
4569
/
goodies8
/
programr
/
dirvars.doc
< prev
next >
Wrap
Text File
|
1993-02-18
|
1KB
|
25 lines
(User.programs)
Item: 443 by akcs.cotty@hpcvbbs.cv.hp.com [SCOTTY THOMPSON]
Subj: Super-Fast VARS
Date: 29 Dec 1992
This beast is a replacement for the User RPL word VARS. It does NOT stop
name resolution at a null-named variable or directory, so every variable
is included in the list (including the null-named directory of HOME).
Sample timed test runs have shown up to 27 times faster. Yes, that was
27 TIMES. From the HOME directory, the difference is about 300%, and
empty directories just about tie with the standard VARS command, due to
the overhead. However, significant time savings are encountered when the
directory is close to home. Also, the larger the directory, the larger
the time difference. For example, a directory of 35 vars had the
variable list recalled in a list in 4 uS, average. The VARS command took
over 100 uS, average--a 25 TIMES increase in speed.
This is a System RPL/Machine Language routine using supported entries and
works fine on my revision E machine loaded or unloaded. This is free for
you to use. Just don't change it or tell someone else you wrote it.
Happy computing!
Scott.