[PATCH v2] pure: write a really lazy version of pure indexObject

Augie Fackler raf at durin42.com
Tue May 10 22:21:29 EDT 2016


> On May 10, 2016, at 9:35 PM, Augie Fackler <raf at durin42.com> wrote:
> 
> On Tue, May 10, 2016 at 10:41:39AM +0200, Maciej Fijalkowski wrote:
>> # HG changeset patch
>> # User Maciej Fijalkowski <fijall at gmail.com>
>> # Date 1461496898 -10800
>> #      Sun Apr 24 14:21:38 2016 +0300
>> # Branch stable
>> # Node ID a404d575cabf159786d75ee49c834234721e1f53
>> # Parent  2d3837a4bded5362f26f91033c0a83376c207593
>> pure: write a really lazy version of pure indexObject.
>> 
>> On PyPy this version performs reasonably well compared to C version.
>> Example command is "hg id" which gets faster, depending on details
>> of your operating system and hard drive (it's bottlenecked on stat mostly)
>> There is potential for improvements by storing extra as a condensed struct too.
> 
> Queued this, many thanks. Nice to see pure code getting some expert attention!

test-check-commit.t had the following comments:
+  Revision 7c7770fa6ee3 does not comply with rules
+  ------------------------------------------------------
+  6: don't add trailing period on summary line
+   pure: write a really lazy version of pure indexObject.
+  159: adds double empty line
+   +
+

I’ve fixed both in flight, since it was easy enough to do so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160510/6723874f/attachment.sig>


More information about the Mercurial-devel mailing list