1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-02 07:17:58 +01:00
git/perl/Git/SVN
Eric Wong 47092c1067 git-svn: lazy load some modules
We can delay loading some modules until we need them for uncommon
code paths.  For example, persistent memoization is not often
needed, so we can avoid loading the modules for it until we
encounter svn::mergeinfo during fetch.

This gives a tiny reduction in syscalls (from 15641 to 15305) when
running "git svn info" and counting via "strace -fc".  Further,
more invasive work will be needed to noticeably improve performance.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
2015-02-26 20:19:21 +00:00
..
Memoize git-svn: use YAML format for mergeinfo cache when possible 2012-06-10 08:47:53 +00:00
Editor.pm git-svn: lazy load some modules 2015-02-26 20:19:21 +00:00
Fetcher.pm git-svn: lazy load some modules 2015-02-26 20:19:21 +00:00
GlobSpec.pm Make git-svn branch patterns match complete URL 2012-10-05 22:48:12 +00:00
Log.pm pager: remove 'S' from $LESS by default 2014-05-07 13:41:04 -07:00
Migration.pm comments: fix misuses of "nor" 2014-03-31 15:29:27 -07:00
Prompt.pm Git::SVN::*: add missing "NAME" section to perldoc 2013-05-09 01:07:58 +00:00
Ra.pm git-svn: lazy load some modules 2015-02-26 20:19:21 +00:00
Utils.pm git svn: do not overescape URLs (fallback case) 2013-01-17 23:28:12 +00:00