[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(INCF Variable <float>) creates garbage!?



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