This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Inline instance cache


Hi -

On Thu, Oct 09, 2008 at 03:36:31PM +0200, Petr Machata wrote:
> >>Plus, it doesn't punish users which make only a few such calls.
> >
> >If the cache is populated during the first actual call, then its
> >presence need not punish users.
> 
> That's how it's done.  It will still punish users who do e.g. only one 
> call in a given CU.  The cache setup is not for free, and will start to 
> pay off only after several calls.

In theory, the cache itself need not be populated entirely at the
first call; it could do so incrementally as further queries come in.

In practice, the only big user of libdwfl is systemtap, and we're
happy to pay the price of even a less-than-fully-clever caching
implementation.


- FChE

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]