Re: Summary store, impl n. 7



On Thu, 2007-12-27 at 20:53 +0100, Philip Van Hoof wrote:

> o. Has a way to create new items easily. Deals with out-of-order adding
>    of items (when requesting an item with a sequence number that doesn't
>    yet exist, you'll simply get NULL)


Note:

To support what Dave's E-mail client does, and what Pine, Mulberry and
others seem to be doing, we could also make it possible (or optional) to
fill up gaps in the summary with dummy items that contain "..." for all
string fields.

This will make adding summary items out-of-order to the summary a little
bit slower (assigning a few more pointers to make them point to such a
dummy item).

Having a dummy entry in the data-file and index file makes few sense as
we store strings uniquely in the mmaped file anyway (you'll see a "..."
string at the top of the file somewhere).

But it's certainly a possibility ...


-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]