From mboxrd@z Thu Jan 1 00:00:00 1970 From: rlane@club.cc.cmu.edu (Rich Lane) Date: Thu, 01 Oct 2009 13:02:18 -0400 Subject: [sup-talk] [PATCH] xapian: do less work for update_message_state In-Reply-To: <1254404707-sup-9253@masanjin.net> 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> Message-ID: <1254416360-sup-8957@zyrg.net> 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.