Joe Marshall <jmarshall@alum.mit.edu> wrote:
+---------------
| cbbrowne@knuth.brownes.org (Christopher Browne) writes:
| > The main reason for using destructive operators is if they wind up
| > being much *faster* than their less destructive brethren.
|
| That's a big IF.
+---------------
Yup. Particularly if you're using a high-performance generational
copying garbage collector. Destructive (mutating) ops can be *slower*
than their functional equivalents in such an environment.
-Rob
-----
Rob Warnock, 41L-955 rpw3@sgi.com
Applied Networking http://reality.sgi.com/rpw3/
Silicon Graphics, Inc. Phone: 650-933-1673
1600 Amphitheatre Pkwy. PP-ASEL-IA
Mountain View, CA 94043