Skip to content
  • Eric Wong's avatar
    git-svn: lazy load some modules · 47092c10
    Eric Wong authored
    
    
    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: default avatarEric Wong <normalperson@yhbt.net>
    47092c10