From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] limit_list: avoid quadratic behavior from still_interesting
Date: Fri, 17 Apr 2015 15:21:30 -0700 [thread overview]
Message-ID: <xmqqoammo0ph.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <20150417221104.GA8806@peff.net> (Jeff King's message of "Fri, 17 Apr 2015 18:11:04 -0400")
Jeff King <peff@peff.net> writes:
> The implementation is fairly straightforward. Whenever we do
> the linear search, we cache the interesting commit we find,
> and next time check it before doing another linear search.
> If that commit is removed from the list or becomes
> UNINTERESTING itself, then we fall back to the linear
> search.
Nicely done, clever, simple and effective.
Thanks.
prev parent reply other threads:[~2015-04-17 22:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-17 22:11 [PATCH] limit_list: avoid quadratic behavior from still_interesting Jeff King
2015-04-17 22:21 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqoammo0ph.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.