##// END OF EJS Templates
util.url: copy urllib.unquote() into util to improve startup times...
util.url: copy urllib.unquote() into util to improve startup times The ui class uses util.hasscheme() in a couple of places, causing hg to import urllib even when it doesn't need to. This copies urllib.unquote() to avoid that import. perfstartup time before the URL refactoring (8796fb6af67e): ! wall 0.050692 comb 0.000000 user 0.000000 sys 0.000000 (best of 100) before this change: ! wall 0.064742 comb 0.000000 user 0.000000 sys 0.000000 (best of 100) after this change: ! wall 0.052126 comb 0.000000 user 0.000000 sys 0.000000 (best of 100
Brodie Rao -
r14077:c285bdb0 default
Show More
Name Size Modified Last Commit Author
/ contrib / vim
HGAnnotate.vim Loading ...
hg-menu.vim Loading ...
hgcommand.vim Loading ...
hgtest.vim Loading ...
patchreview.txt Loading ...
patchreview.vim Loading ...