home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / news / 4569 / goodies8 / programr / dirvars.doc < prev    next >
Text File  |  1993-02-18  |  1KB  |  25 lines

  1. (User.programs)
  2. Item: 443 by akcs.cotty@hpcvbbs.cv.hp.com [SCOTTY THOMPSON]
  3. Subj: Super-Fast VARS
  4. Date: 29 Dec 1992
  5.  
  6. This beast is a replacement for the User RPL word VARS.  It does NOT stop
  7. name resolution at a null-named variable or directory, so every variable
  8. is included in the list (including the null-named directory of HOME).
  9. Sample timed test runs have shown up to 27 times faster.  Yes, that was
  10. 27 TIMES.  From the HOME directory, the difference is about 300%, and
  11. empty directories just about tie with the standard VARS command, due to
  12. the overhead.  However, significant time savings are encountered when the
  13. directory is close to home.  Also, the larger the directory, the larger
  14. the time difference.  For example, a directory of 35 vars had the
  15. variable list recalled in a list in 4 uS, average.  The VARS command took
  16. over 100 uS, average--a 25 TIMES increase in speed.
  17.  
  18. This is a System RPL/Machine Language routine using supported entries and
  19. works fine on my revision E machine loaded or unloaded.  This is free for
  20. you to use.  Just don't change it or tell someone else you wrote it.
  21.  
  22. Happy computing!
  23.  
  24. Scott.
  25.