[PATCH] Store "from" and "subject" headers in the database.

2011-11-06 Thread Austin Clements
This is a rebase and cleanup of Istvan Marko's patch from id:m3pqnj2j7a.fsf at zsu.kismala.com Search retrieves these headers for every message in the search results. Previously, this required opening and parsing every message file. Storing them directly in the database significantly reduces IO

[PATCH] Store "from" and "subject" headers in the database.

2011-11-06 Thread Jani Nikula
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements wrote: > This is a rebase and cleanup of Istvan Marko's patch from > id:m3pqnj2j7a.fsf at zsu.kismala.com > > Search retrieves these headers for every message in the search > results. Previously, this required opening and parsing every message

[PATCH] Store "from" and "subject" headers in the database.

2011-11-06 Thread Daniel Schoepe
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements wrote: > Search retrieves these headers for every message in the search > results. Previously, this required opening and parsing every message > file. Storing them directly in the database significantly reduces IO > and computation, speeding up

[PATCH] Store "from" and "subject" headers in the database.

2011-11-06 Thread Daniel Schoepe
On Sun, 06 Nov 2011 23:07:51 +0200, Jani Nikula wrote: > ...what's the most convenient way of rebuilding the database while > preserving my tags etc.? If this was merged, would an older version of > notmuch choke on the rebuilt database with these headers? (To me it > looks like it would be fine.)

[PATCH] Store "from" and "subject" headers in the database.

2011-11-06 Thread Austin Clements
On Sun, Nov 6, 2011 at 4:07 PM, Jani Nikula wrote: > On Sun, ?6 Nov 2011 12:17:36 -0500, Austin Clements > wrote: >> Taking full advantage of this requires a database rebuild, but it will >> fall back to the old behavior for messages that do not have headers >> stored in the database. > > ...wha

[PATCH] Store "from" and "subject" headers in the database.

2011-11-07 Thread Jani Nikula
On Sun, 6 Nov 2011 17:01:14 -0500, Austin Clements wrote: > On Sun, Nov 6, 2011 at 4:07 PM, Jani Nikula wrote: > > On Sun, ?6 Nov 2011 12:17:36 -0500, Austin Clements > > wrote: > >> Taking full advantage of this requires a database rebuild, but it will > >> fall back to the old behavior for me

[PATCH] Store "from" and "subject" headers in the database.

2011-11-11 Thread Pieter Praet
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements wrote: > This is a rebase and cleanup of Istvan Marko's patch from > id:m3pqnj2j7a.fsf at zsu.kismala.com > Fantastic performance improvement Austin! This should be merged in ASAP. BTW, compacting the db from time to time also has a significa

[PATCH] Store "from" and "subject" headers in the database.

2011-11-11 Thread Pieter Praet
On Fri, 11 Nov 2011 02:33:38 +0100, Pieter Praet wrote: > On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements > wrote: > > This is a rebase and cleanup of Istvan Marko's patch from > > id:m3pqnj2j7a.fsf at zsu.kismala.com > > > > Fantastic performance improvement Austin! [...] ... and Istvan

[PATCH] Store "from" and "subject" headers in the database.

2011-11-10 Thread Austin Clements
Quoth Pieter Praet on Nov 11 at 2:38 am: > On Fri, 11 Nov 2011 02:33:38 +0100, Pieter Praet wrote: > > On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements > > wrote: > > > This is a rebase and cleanup of Istvan Marko's patch from > > > id:m3pqnj2j7a.fsf at zsu.kismala.com > > > > > > > Fantas

[PATCH] Store "from" and "subject" headers in the database.

2011-11-13 Thread Jameson Graef Rollins
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements wrote: > This is a rebase and cleanup of Istvan Marko's patch from > id:m3pqnj2j7a.fsf at zsu.kismala.com > > Search retrieves these headers for every message in the search > results. Previously, this required opening and parsing every message

[PATCH] Store "from" and "subject" headers in the database.

2011-11-14 Thread David Bremner
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements wrote: > This is a rebase and cleanup of Istvan Marko's patch from > id:m3pqnj2j7a.fsf at zsu.kismala.com > Pushed. Would you mind making a NEWS patch? d

[PATCH] Store "from" and "subject" headers in the database.

2011-11-06 Thread Austin Clements
This is a rebase and cleanup of Istvan Marko's patch from id:m3pqnj2j7a@zsu.kismala.com Search retrieves these headers for every message in the search results. Previously, this required opening and parsing every message file. Storing them directly in the database significantly reduces IO and

Re: [PATCH] Store "from" and "subject" headers in the database.

2011-11-06 Thread Jani Nikula
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements wrote: > This is a rebase and cleanup of Istvan Marko's patch from > id:m3pqnj2j7a@zsu.kismala.com > > Search retrieves these headers for every message in the search > results. Previously, this required opening and parsing every message > f

Re: [PATCH] Store "from" and "subject" headers in the database.

2011-11-06 Thread Daniel Schoepe
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements wrote: > Search retrieves these headers for every message in the search > results. Previously, this required opening and parsing every message > file. Storing them directly in the database significantly reduces IO > and computation, speeding up

Re: [PATCH] Store "from" and "subject" headers in the database.

2011-11-06 Thread Daniel Schoepe
On Sun, 06 Nov 2011 23:07:51 +0200, Jani Nikula wrote: > ...what's the most convenient way of rebuilding the database while > preserving my tags etc.? If this was merged, would an older version of > notmuch choke on the rebuilt database with these headers? (To me it > looks like it would be fine.)

Re: [PATCH] Store "from" and "subject" headers in the database.

2011-11-06 Thread Austin Clements
On Sun, Nov 6, 2011 at 4:07 PM, Jani Nikula wrote: > On Sun,  6 Nov 2011 12:17:36 -0500, Austin Clements wrote: >> Taking full advantage of this requires a database rebuild, but it will >> fall back to the old behavior for messages that do not have headers >> stored in the database. > > ...what's

Re: [PATCH] Store "from" and "subject" headers in the database.

2011-11-06 Thread Jani Nikula
On Sun, 6 Nov 2011 17:01:14 -0500, Austin Clements wrote: > On Sun, Nov 6, 2011 at 4:07 PM, Jani Nikula wrote: > > On Sun,  6 Nov 2011 12:17:36 -0500, Austin Clements > > wrote: > >> Taking full advantage of this requires a database rebuild, but it will > >> fall back to the old behavior for me

Re: [PATCH] Store "from" and "subject" headers in the database.

2011-11-10 Thread Pieter Praet
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements wrote: > This is a rebase and cleanup of Istvan Marko's patch from > id:m3pqnj2j7a@zsu.kismala.com > Fantastic performance improvement Austin! This should be merged in ASAP. BTW, compacting the db from time to time also has a significant

Re: [PATCH] Store "from" and "subject" headers in the database.

2011-11-10 Thread Pieter Praet
On Fri, 11 Nov 2011 02:33:38 +0100, Pieter Praet wrote: > On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements wrote: > > This is a rebase and cleanup of Istvan Marko's patch from > > id:m3pqnj2j7a@zsu.kismala.com > > > > Fantastic performance improvement Austin! [...] ... and Istvan Marko

Re: [PATCH] Store "from" and "subject" headers in the database.

2011-11-10 Thread Austin Clements
Quoth Pieter Praet on Nov 11 at 2:38 am: > On Fri, 11 Nov 2011 02:33:38 +0100, Pieter Praet wrote: > > On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements > > wrote: > > > This is a rebase and cleanup of Istvan Marko's patch from > > > id:m3pqnj2j7a@zsu.kismala.com > > > > > > > Fantastic

Re: [PATCH] Store "from" and "subject" headers in the database.

2011-11-13 Thread Jameson Graef Rollins
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements wrote: > This is a rebase and cleanup of Istvan Marko's patch from > id:m3pqnj2j7a@zsu.kismala.com > > Search retrieves these headers for every message in the search > results. Previously, this required opening and parsing every message > f

Re: [PATCH] Store "from" and "subject" headers in the database.

2011-11-14 Thread David Bremner
On Sun, 6 Nov 2011 12:17:36 -0500, Austin Clements wrote: > This is a rebase and cleanup of Istvan Marko's patch from > id:m3pqnj2j7a@zsu.kismala.com > Pushed. Would you mind making a NEWS patch? d ___ notmuch mailing list notmuch@notmuchmail.org