On Sun, Feb 7, 2010 at 8:27 AM, Edward K. Ream <[email protected]> wrote:
> My secondary idea is that there is actually very little involved in caching. I've been considering another idea. I want to eliminate as many files from leo/db as possible. To that end, it may be possible to cache everything but the actual file contents themselves in a single cache dict. We write all subsidiary info (globals, marks, c.p, expansion bits, etc.) to that dict, then cache that dict all at once. It's likely that this will also simplify the code: we only need to compute the file's hash if the dict does not already contain a fileHash entry. Details not worked out yet, and probably not important. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
