[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(INCF Variable <float>) creates garbage!?
- To: info-macl@cambridge.apple.com
- Subject: (INCF Variable <float>) creates garbage!?
- From: Repenning Alexander <ralex@tigger.cs.colorado.edu>
- Date: Thu, 11 Feb 93 15:26:13 MST
I' have big loops incrementing floats. These loops create quite some
garbage since incrementing a variable with a float apparently creates
garbage (in MCL2.0p2):
(defvar V 0)
(time (incf V 1.5))
...8 bytes of memory allocated.
Is there no way arround this? Intuitively I'd think INCF should be
able to increment floats without producing any garbage (e.g., better
boxing?).
Alex Repenning