From mboxrd@z Thu Jan 1 00:00:00 1970 From: olly@survex.com (Olly Betts) Date: Fri, 2 Oct 2009 07:57:55 +0000 (UTC) Subject: [sup-talk] [PATCH] xapian: do less work for update_message_state References: <1252867449-30734-1-git-send-email-rlane@club.cc.cmu.edu> <1254339542-sup-886@masanjin.net> <1254341186-sup-4357@zyrg.net> <1254404707-sup-9253@masanjin.net> <1254416360-sup-8957@zyrg.net> Message-ID: On 2009-10-01, Rich Lane wrote: > Excerpts from William Morgan's message of Thu Oct 01 09:46:20 -0400 2009: >> Reformatted excerpts from Rich Lane's message of 2009-09-30: >> > They're about 3 times faster on my machine with this patch. An >> > optimization the Xapian devs have been planning to make (and that this >> > patch is necessary to take advantage of) should increase performance >> > much more. >> >> Awesome. Out of curiousity, what's the optimization? > > replace_document currently deletes all the old postings and inserts new > ones. It can be optimized to make the minimal set of modifications. This is the ticket for it: http://trac.xapian.org/ticket/250 Cheers, Olly