On Sun, Feb 7, 2010 at 8:47 AM, Ville M. Vainio <[email protected]> wrote:
> On Sun, Feb 7, 2010 at 4:27 PM, Edward K. Ream <[email protected]> wrote:
>
>> My main idea is to associate cached items with both the files contents
>> *and* the full path to the file.  When updating a cached item, we
>> would delete any previous item at the same path.  This should be a
>> simple, safe and effective optimization.
>
> Yes, it should.

Good.  In that case, I'll do it.  Probably today.


> You can't get much simpler than pickleshare :-). Also remember that
> it's being used for stuff apart from hashcache.

I'll leave it alone.
>
> It should be quite easy to remove 'path' dependency from
> pickleshare.py. 'path' is a rather simple module, and can be quite
> easily replaced with os.path stuff. The key is to grep for "self.root"
> in pickleshare.py, and make self.root work with plain path strings.

Consider it done.  I dislike path quite a bit, as it happens.

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.

Reply via email to