[M3devel] heap vs. stack? (sort of)

Tony Hosking hosking at cs.purdue.edu
Mon Jan 28 17:38:34 CET 2008


<*INLINE*> currently does nothing with CM3.  However, the gcc-based  
backend will inline procedures when optimizations are turned on.

On Jan 28, 2008, at 8:38 AM, Henning Thielemann wrote:

>
> On Mon, 28 Jan 2008, Jay wrote:
>
>> I totally want common code, there's just no point in moving it  
>> into a separate function.
>
> Are you concerned about efficiency or about readability? In the  
> first case
> maybe <* INLINE *> helps?
>
>> I also tried WITH that got its value from "PickBuffer", also a  
>> useless
>> function but at least small, but functions can't return open arrays.
>
> Functions can return pointers to open arrays - isn't this enough?




More information about the M3devel mailing list