[PATCH] revlog: avoid an expensive string copy

Bryan O'Sullivan bos at serpentine.com
Mon Apr 16 10:49:59 CDT 2012


On Sat, Apr 14, 2012 at 3:16 PM, Matt Mackall <mpm at selenic.com> wrote:

> >              return d[cachestart:cacheend]
> > +            return buffer(d, cachestart, cacheend - cachestart)
>
> Something wrong here in particular.
>

Hmm, thanks for spotting that. I must have sent a stale version of the
patch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120416/902c2bea/attachment.html>


More information about the Mercurial-devel mailing list