I am posting this after a good conversation I had in the bar (that well
known debugging room) last night.
It is my feeling as a competent beginner in POP11, that putting too many
efficiency hacks into your code tends to lose the inherent clarity that
POP11 provides.
My conclusion is that (bearing in mind I am using an 86 MIP workstation), I
will not worry about efficiency until I notice that my program is running
slowly. An example of what I mean is using a temporary closure within a
loop, which looks nice and neat, but will cause extra garbage collections,
as opposed to using an lblock (As Aaron pointed out).
Until I notice that it takes longer for the program to run than it does for
the data to be output, I'll lose no sleep over it....
Comments ?
Tim
--
--------------------------------------------------------------------
Tim Read, Email: tmr@cs.bham.ac.uk, The Attention and Affect Project
Room LG23, School of Computer Science, The University of Birmingham,
B15 2TT, England, Phone: +44-(0)21-414-4766, Fax: +44-(0)21-414-4281
--------------------------------------------------------------------
|