chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] an interesting idea?


From: Jörg F . Wittenberger
Subject: [Chicken-hackers] an interesting idea?
Date: 26 Oct 2011 21:30:55 +0200

I just updated to current master.

First notice: with the modified allocation scheme for the m-stack
I observe a larger memory footprint.

The attached diff does roughly half the time the chicken executable
needs compiling it's own source.

IMHO it would be an interesting idea to convert C_mutate to
a macro, which would avoid any procedure call by lifting the check

 if(!C_immediatep(val) && C_i_in_stackp(val)) {

from the current C_mutate procedure into the TDB C_mutate macro
and call the TDB C_do_mutate procedure only in case.

/Jörg

Attachment: savemstack.diff
Description: savemstack.diff


reply via email to

[Prev in Thread] Current Thread [Next in Thread]