[Openmcl-devel] Calling STRETs without SEND

Ron Garret ron at awun.net
Tue Jun 2 12:04:23 PDT 2009


On Jun 2, 2009, at 12:01 PM, R. Matthew Emerson wrote:

>
> When using #/ notation, you don't need to make a distinction between  
> methods that return a structure by value, and those that don't.  So  
> you can just say
>
> (let ((event-location (#/locationInWindow event)))
> ...)
>
> and forget about SLET entirely.
>

Cool.

>  the bad news is
> that #_malloc, #_free, and the GC are all involved in the creation
> and eventual destruction of structure-typed return values.  Unless
> and until those factors negatively affect performance, the advantages
> seem to outweigh the disadvantages.)

Indeed.

>
>
> Sorry that section 13 of the manual is so out-of-date.
>

No worries.  Thanks for the info!

rg




More information about the Openmcl-devel mailing list