localtransport.abspath
Robert Collins
robertc at robertcollins.net
Tue May 23 02:16:45 BST 2006
Can anyone think of a reason that LocalTransport.abspath should call
normpath ?
If we call normpath at __init__ time, then just use pathjoin, that
should be much faster. (In fact, in LocalTransport we can even just use
straight concatentation, as we know relative paths in transports should
always be to the right of the transport - not parents or siblings.
about 10 seconds of commit on a 10K file repo are spend in
LocalTransport.abspath.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060523/10a733cf/attachment.pgp
More information about the bazaar
mailing list