git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] generalizing sorted-array handling
@ 2010-11-06 21:00 Yann Dirson
  2010-11-06 21:00 ` [PATCH v2 1/3] Introduce sorted-array binary-search function Yann Dirson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yann Dirson @ 2010-11-06 21:00 UTC (permalink / raw)
  To: git

This is a complete rewrite of the previous series, following a
suggestion by Jonathan Nieder.  It is much more generic than the
previous one, and removes existing duplicated code in diffcore-rename.

I also had a quick look at other binary-search occurences in the code
that would share the same search code.  That revealed
index_name_pos(): not sure it is a good idea to make it use this API -
it would require changes all over the code.  I still include a
possibly-useful additional API for similar cases.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-06 21:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-06 21:00 [PATCH v2] generalizing sorted-array handling Yann Dirson
2010-11-06 21:00 ` [PATCH v2 1/3] Introduce sorted-array binary-search function Yann Dirson
2010-11-06 21:00 ` [PATCH v2 2/3] Convert diffcore-rename's rename_src to the new sorted-array API Yann Dirson
2010-11-06 21:00 ` [PATCH v2 3/3] [RFC] Add a sorted-list API for use-cases that require to get the element index Yann Dirson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).