Subj : Re: SpiderMonkey on Mac/Codewarrior To : Shanti Rao From : Brendan Eich Date : Sat Aug 14 2004 12:15 pm Shanti Rao wrote: > The other thing you may want to do is set the byte alignment to 4. I > think CW uses 8 by default. Don't use 1 or 2, though, because SM uses > the 'shadow' bytes between memory blocks to do garbage collection. No shadow bytes -- SpiderMonkey calls malloc with an overlarge amount as needed, and aligns the return value to the required modulus. What problems did you see with 1 or 2 byte alignment? Was this recent, or ages ago? /be .