Re: [PATCH 2 of 3 V3] chgcache: implement a smartcache layer

2017-03-11 Thread Yuya Nishihara
On Wed, 8 Mar 2017 14:41:25 -0800, Jun Wu wrote: > Excerpts from Simon Farnsworth's message of 2017-03-08 18:52:06 +: > > > +A load function usually looks like: > > > + > > > +def loadfunc(state, oldhash, oldvalue): > > > +hash = state.quickhash() > > > +if

Re: [PATCH 2 of 3 V3] chgcache: implement a smartcache layer

2017-03-08 Thread Jun Wu
Excerpts from Simon Farnsworth's message of 2017-03-08 18:52:06 +: > On 08/03/2017 06:35, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1488949878 28800 > > # Tue Mar 07 21:11:18 2017 -0800 > > # Node ID f0bded8d53c5c9a5cfb25d29dd99cf4eb3fb79b2 > > #

Re: [PATCH 2 of 3 V3] chgcache: implement a smartcache layer

2017-03-08 Thread Simon Farnsworth
On 08/03/2017 06:35, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1488949878 28800 # Tue Mar 07 21:11:18 2017 -0800 # Node ID f0bded8d53c5c9a5cfb25d29dd99cf4eb3fb79b2 # Parent 60eb2c2b5196a62d635dbe0eb1e29fdd945d5058 # Available At

[PATCH 2 of 3 V3] chgcache: implement a smartcache layer

2017-03-07 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1488949878 28800 # Tue Mar 07 21:11:18 2017 -0800 # Node ID f0bded8d53c5c9a5cfb25d29dd99cf4eb3fb79b2 # Parent 60eb2c2b5196a62d635dbe0eb1e29fdd945d5058 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull