notmuch clon
Find a file
Carl Worth aad13c3ac9 notmuch dump: Free each message as it's used.
Previously we were leaking[*] memory in that the memory footprint of
a "notmuch dump" run would continue to grow until the output was
complete, and then finally all the memory would be freed.

Now, the memory footprint is small and constant, O(1) rather than
O(n) in the number of messages.

[*] Not leaking in a valgrind sense---every byte was still carefully
being accounted for and freed eventually.
2009-10-20 22:27:56 -07:00
.gitignore Remove test programs, xapian-dump and notmuch-index-message 2009-10-19 22:24:28 -07:00
database-private.h Implement 'notmuch dump'. 2009-10-20 21:21:39 -07:00
database.cc Implement 'notmuch dump'. 2009-10-20 21:21:39 -07:00
date.c Hook up our fancy new notmuch_parse_date function. 2009-10-19 13:35:29 -07:00
Makefile Implement 'notmuch dump'. 2009-10-20 21:21:39 -07:00
message-file.c Rename private notmuch_message_t to notmuch_message_file_t 2009-10-20 15:09:51 -07:00
message.cc Add destroy functions for results, message, and tags. 2009-10-20 22:24:59 -07:00
message.h notmuch: Switch from gmime to custom, ad-hoc parsing of headers. 2009-10-19 13:00:43 -07:00
notmuch-private.h Implement 'notmuch dump'. 2009-10-20 21:21:39 -07:00
notmuch.c notmuch dump: Free each message as it's used. 2009-10-20 22:27:56 -07:00
notmuch.h Add destroy functions for results, message, and tags. 2009-10-20 22:24:59 -07:00
query.cc Add destroy functions for results, message, and tags. 2009-10-20 22:24:59 -07:00
xutil.c notmuch: Start actually adding messages to the index. 2009-10-18 20:56:30 -07:00