Clemens Fischer <[EMAIL PROTECTED]> writes:

> Alexey Dejneka <[EMAIL PROTECTED]>:
> 
> > The value of S^2 is boxed before putting into the closure.
> 
> what does "... is boxed" mean?  the same as "binding" or more like
> "storing"?

It just means it has type information associated with it.  Normally,
an arithmetic operation gets boxed arguments.  It checks the types,
unboxes the arguments, does the operation, and then boxes up the
result.  This is a huge amount of overhead, so if you're doing a bunch
of these in a row, you want the compiler to leave the intermediate
values unboxed.

HTH,

cbb

-- 
 10:04:59 up 61 days, 18:59,  2 users,  load average: 0.37, 0.29, 0.13

Reply via email to