[Openmcl-devel] pref/rref creating runtime math overhead

Alexander Repenning ralex at cs.colorado.edu
Sat Feb 16 01:49:56 UTC 2008


no bid deal but

(pref Rect :<NSR>ect.size)

macroexpands into

(CCL::%COMPOSITE-POINTER-REF 8 RECT (/ 64 8))

I assume there is no good reason to keep the division of two  
constants. Is the compiler clever enough to optimize this away?

Alex


Prof. Alexander Repenning

University of Colorado
Computer Science Department
Boulder, CO 80309-430

vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20080215/a6f8baf7/attachment.html>


More information about the Openmcl-devel mailing list