[Ecls-list] unboxed closure
Brian Spilsbury
brian.spilsbury at gmail.com
Sat Sep 1 10:56:00 UTC 2007
Well, I seem to have unboxed lexicals working.
The produced code is like;
{ VT2 VLEX2 CLSR2
cl_object value0;
{
TTL:
lex0[0].unboxed_cl_fixnum= 0; /* X
*/
lex0[1].unboxed_cl_fixnum= 0; /* Y
*/
value0=LC1test6(lex0,MAKE_FIXNUM(3),MAKE_FIXNUM(4)) /* TEST6 */;
return value0;
}
}
lexN[i] is now a union of unboxed (i.e., C) datatypes.
I'm looking at closures, but it seems that that might entail something
more radical, since it uses a chain of conses.
Any suggestions would be welcomed.
Regards,
Brian.
More information about the ecl-devel
mailing list