Skip to content
Snippets Groups Projects
  1. Jun 12, 2019
  2. Sep 01, 2018
  3. Aug 21, 2018
  4. May 06, 2018
    • Gregory Szorc's avatar
      demandimport: make module ignores a set (API) · 670eb4fa1b86
      Gregory Szorc authored
      The list of modules to ignore is used for membership testing. Yet
      it is defined as a list.
      
      Sets are more efficient for membership testing. So this commit converts
      the module list to a set.
      
      Since we took an API hit, I renamed the variable to further clarify
      the change.
      
      This appears to reduce the CPU time for running 300 invocations of
      `hg log -r. -T '{rev}'` on my i7-6700K:
      
      before: 18.64s
      after:  18.44s
      
      Differential Revision: https://phab.mercurial-scm.org/D3440
      670eb4fa1b86
  5. Jan 05, 2018
  6. Aug 22, 2017
  7. Aug 16, 2017
    • Jun Wu's avatar
      demandimport: disable if chg is being used · 3cfc9070245f
      Jun Wu authored
      In chg's case, making modules lazily loaded could actually slow down things
      since chg pre-imports them. Therefore disable demandimport if chg is being
      used.
      
      This is not done by setting `HGDEMANDIMPORT` chg client-side because that
      has side-effects on child processes (hooks, etc).
      
      Differential Revision: https://phab.mercurial-scm.org/D351
      3cfc9070245f
  8. Aug 18, 2017
  9. Jul 16, 2017
  10. Apr 27, 2017
  11. Apr 28, 2017
  12. May 01, 2017
  13. May 21, 2017
Loading