1. 03 3月, 2019 15 次提交
  2. 02 3月, 2019 5 次提交
  3. 01 3月, 2019 1 次提交
  4. 28 2月, 2019 13 次提交
  5. 27 2月, 2019 2 次提交
    • Jeppe Fihl-Pearson's avatar
      Add LRU cache to RequirementsFinder._get_files_from_dir · b37cd52f
      Jeppe Fihl-Pearson 创作于
      This caches the result of the function for future invocations with the same
      input, which can massively speed up future invocations if they have the same
      input as previous calls.
      
      In the case of this function this happens a lot, as it always is tried with all
      parent paths in the file system from `isort` starting point.
      
      The "backports.functools_lru_cache" package is used for Python 2 as it doesn't
      have the built in `lru_cache` decorator which was added in Python 3.2.
      
      Some benchmarks against a folder with 182 Python files with all finders enabled:
      
      Python 2.7.15: Before 32 seconds, after 4 seconds.
      Python 3.7.2: Before 28 seconds, after 2 seconds.
      b37cd52f
    • Timothy Edmund Crosley's avatar
      Merge pull request #852 from mkurnikov/disable-reqs-based-finders · 70ac53cc
      Timothy Edmund Crosley 创作于
      Disable requirements based finders
      70ac53cc
  6. 26 2月, 2019 1 次提交
  7. 25 2月, 2019 3 次提交