lightning
[Top][All Lists]
Advanced

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

Re: [Lightning] Re: Predicting generated code size


From: Sandro Magi
Subject: Re: [Lightning] Re: Predicting generated code size
Date: Fri, 28 Sep 2007 14:05:10 -0400

On 9/28/07, Ludovic Courtès <address@hidden> wrote:
>
> > Or perhaps, some technique to chain buffers together and auto-insert a
> > jmp to the next buffer address when the current buffer is full?
>
> That's another possibility.  It makes code generation faster, compared
> to reallocating a new buffer and restarting from scratch, but it might
> be cache-unfriendly.

Hmm, I would expect branch prediction rate to be 100% since it's an
unconditional jump, so it should only be a minor hit, if any.

Sandro




reply via email to

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