RE: Last version of the new summary storage engine



 

> > 2) size should also be a uint32_t, since otherwise on 64-bit  
> > platforms you'll have a 64-bit size, there, which isn't needed.
> 
> Right. Unless you want to support terrabyte-sized E-mails of course. 

Also - it would be good to keep the summary format the same on
both 32/64 platforms (and even different-endian), so I can maintain
one ~/.tinymail no matter what I use (this is a real issue on
AMD64, where you can run 32-bit and 64 programs at the same time).

BTW, wild other idea, what about using, say, SQLite for storing the
summary information? I think that could save us from a lot of
error-prone lowlevel hacking (think about row-level locking)
and make debugging easier. I am not sure about the memory/speed 
tradeoffs. 

Best wishes,
Dirk.


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