Re: hashcache (fast!) branch testers needed

2009-06-10 Thread Terry Brown

On Wed, 10 Jun 2009 04:57:15 +0300
Ville M. Vainio vivai...@gmail.com wrote:

  Before running that code, do rm -Rf ~/.leo/db. This is needed
  because I chanced the pickle file format to a compressed one.  
 
  So does this mean switching back and forth between your branch and
  the trunk is potentially messy?  
 
 Not really. This tweak (rm -Rf) was needed when upgrading from old
 version of hashcache branch to new one.

Ok, shouldn't be a problem, I wasn't sure if it would impact c.db.

Cheers -Terry

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~--~~~~--~~--~--~---



Re: hashcache (fast!) branch testers needed

2009-06-10 Thread Ville M. Vainio

On Wed, Jun 10, 2009 at 5:29 PM, Terry Brownterry_n_br...@yahoo.com wrote:

 Ok, shouldn't be a problem, I wasn't sure if it would impact c.db.

Actually, it did - however, c.db is not so widely used yet as to
warrant big concerns about it.

To get rid of just the caches, you could oo find ~/.leo/db -name
fcache -type d | xargs rm


-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~--~~~~--~~--~--~---



Re: hashcache (fast!) branch testers needed

2009-06-10 Thread Terry Brown

The cache stuff really does rock - at the moment when I open a file
with a bunch of @files and no cache I can't resist closing it and
opening it again just to see how quick it will be 'next time' :-)

Cheers -Terry

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~--~~~~--~~--~--~---



Re: hashcache (fast!) branch testers needed

2009-06-09 Thread Kent Tenney

On Mon, Jun 8, 2009 at 4:02 PM, Ville M. Vainiovivai...@gmail.com wrote:

 Regardless of all the talk about node priorities, using the hashcache
 branch should be relatively safe. Apart from safe, it's blazingly fast
 to start up ;-). It probably needs some testing before integrating to
 trunk though

Will you be merging trunk changes into hashcache?

 - the approach taken to external file reading is
 different  (caching introduced), so to be on the safe side we would
 optimally have more people doing their work on it for a while. I'm
 sure once you try hashcache, you won't go back ;-).

Indeed.


 Check it out at:

         bzr branch lp:~villemvainio/leo-editor/hashcache

 Before running that code, do rm -Rf ~/.leo/db. This is needed because
 I chanced the pickle file format to a compressed one.

 --
 Ville M. Vainio
 http://tinyurl.com/vainio

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~--~~~~--~~--~--~---



Re: hashcache (fast!) branch testers needed

2009-06-09 Thread Ville M. Vainio

On Tue, Jun 9, 2009 at 2:49 PM, Kent Tenneykten...@gmail.com wrote:

 Regardless of all the talk about node priorities, using the hashcache
 branch should be relatively safe. Apart from safe, it's blazingly fast
 to start up ;-). It probably needs some testing before integrating to
 trunk though

 Will you be merging trunk changes into hashcache?

Optimally not (with the hope we can get this on trunk soon - it's
pretty much ready for it IMO, but I want some testers to be sure).

If this lingers outside trunk for a while (a week?), I'll definitely
merge with trunk to allow people test this + other new features.

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~--~~~~--~~--~--~---



Re: hashcache (fast!) branch testers needed

2009-06-09 Thread Edward K. Ream
On Tue, Jun 9, 2009 at 7:10 AM, Ville M. Vainio vivai...@gmail.com wrote:


  Will you be merging trunk changes into hashcache?

 Optimally not (with the hope we can get this on trunk soon - it's
 pretty much ready for it IMO, but I want some testers to be sure).

 If this lingers outside trunk for a while (a week?), I'll definitely
 merge with trunk to allow people test this + other new features.


That's fine.  I'm not sure whether this is the same caching scheme as
discussed in the other thread.  Regardless, please help me understand it.

I have the feeling that this caching scheme could have wider applications.
It's likely an idea that I've never really considered, and it might perhaps
point the way to other nifty improvement.  Or so my intuition says.

Edward

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~--~~~~--~~--~--~---



Re: hashcache (fast!) branch testers needed

2009-06-09 Thread Terry Brown

On Tue, 9 Jun 2009 00:02:57 +0300
Ville M. Vainio vivai...@gmail.com wrote:

 lp:~villemvainio/leo-editor/hashcache

My timings for leoPluginsRef.leo were:

cold disk cache 40 sec
warm disk cache 32 sec (still no 'ville cache')
ville cache 12 sec

but a lot of that 12 sec on my slow machine is not node loading, these
were just stopwatch timings from pressing enter to the CPU relaxing.

Cheers -Terry

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~--~~~~--~~--~--~---



Re: hashcache (fast!) branch testers needed

2009-06-09 Thread Terry Brown

On Tue, 9 Jun 2009 00:02:57 +0300
Ville M. Vainio vivai...@gmail.com wrote:

 Before running that code, do rm -Rf ~/.leo/db. This is needed because
 I chanced the pickle file format to a compressed one.

So does this mean switching back and forth between your branch and the
trunk is potentially messy?

Cheesr -Terry

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~--~~~~--~~--~--~---



hashcache (fast!) branch testers needed

2009-06-08 Thread Ville M. Vainio

Regardless of all the talk about node priorities, using the hashcache
branch should be relatively safe. Apart from safe, it's blazingly fast
to start up ;-). It probably needs some testing before integrating to
trunk though - the approach taken to external file reading is
different  (caching introduced), so to be on the safe side we would
optimally have more people doing their work on it for a while. I'm
sure once you try hashcache, you won't go back ;-).

Check it out at:

 bzr branch lp:~villemvainio/leo-editor/hashcache

Before running that code, do rm -Rf ~/.leo/db. This is needed because
I chanced the pickle file format to a compressed one.

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
leo-editor group.
To post to this group, send email to leo-editor@googlegroups.com
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~--~~~~--~~--~--~---