home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / pop / 82 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  1.5 KB

  1. Path: sparky!uunet!mcsun!uknet!news.cs.bham.ac.uk!percy!tmr
  2. From: tmr@cs.bham.ac.uk (Tim Read)
  3. Newsgroups: comp.lang.pop
  4. Subject: Clarity VS Efficiency in POP11
  5. Message-ID: <TMR.92Nov21122734@emotsun.bham.ac.uk>
  6. Date: 21 Nov 92 12:27:34 GMT
  7. Sender: news@cs.bham.ac.uk
  8. Organization: School of Computer Science, University of Birmingham, UK
  9. Lines: 28
  10. Nntp-Posting-Host: emotsun
  11.  
  12. I am posting this after a good conversation I had in the bar (that well
  13. known debugging room) last night. 
  14.  
  15. It is my feeling as a competent beginner in POP11, that putting too many
  16. efficiency hacks into your code tends to lose the inherent clarity that
  17. POP11 provides. 
  18.  
  19. My conclusion is that (bearing in mind I am using an 86 MIP workstation), I
  20. will not worry about efficiency until I notice that my program is running
  21. slowly. An example of what I mean is using a temporary closure within a
  22. loop, which looks nice and neat, but will cause extra garbage collections,
  23. as opposed to using an lblock (As Aaron pointed out).
  24.  
  25. Until I notice that it takes longer for the program to run than it does for
  26. the data to be output, I'll lose no sleep over it....
  27.  
  28. Comments ?
  29.  
  30.  Tim
  31.  
  32.  
  33.  
  34. --
  35.     --------------------------------------------------------------------
  36.     Tim Read, Email: tmr@cs.bham.ac.uk, The Attention and Affect Project
  37.     Room LG23, School of Computer Science, The University of Birmingham,
  38.     B15 2TT, England, Phone: +44-(0)21-414-4766, Fax: +44-(0)21-414-4281
  39.     --------------------------------------------------------------------
  40.