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

Alexander Repenning ralex at cs.colorado.edu
Fri Feb 15 17:49:56 PST 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: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20080215/a6f8baf7/attachment.htm>


More information about the Openmcl-devel mailing list