[PATCH 0 of 1] Proposal for enhancement of bookmarks-extension execution speed

Friedrich Kastner-Masilko face at snoopie.at
Tue Jun 8 17:28:34 CDT 2010


Hy there,

after working on an extension similar to bookmarks, I found the usage of localrepo.lookup() to be slower than the direct usage of node.bin().
It seems to be more serious with big bookmarks files, with the usual <10 bookmarks there is almost no difference.

I'm not sure if the usage of lookup() of the super-class is import for possible other extensions, though.

Anyway, I thought I should share this here for review...

regards,
Fritz

P.S.: Sorry if this patch is not following rules, n00b here :)



More information about the Mercurial-devel mailing list