Skip to content
Snippets Groups Projects
  1. Dec 19, 2023
  2. Dec 20, 2023
  3. Dec 19, 2023
  4. Dec 20, 2023
  5. Dec 19, 2023
  6. Dec 20, 2023
    • Pierre-Yves David's avatar
      lock: properly convert error to bytes · 81224afd
      Pierre-Yves David authored
      Flagged by pytype when a later changeset is applied moving typing comment to annotation.
      
      We fix this ahead of the annotation change to make sure pytype remains happy
      after the change.
      
      We have to do fairly crazy dance for pytype to be happy. This probably comes
      from the fact IOError.filename probably claims to be `str` while it is actually
      `bytes` if the filename raising that `IOError` is bytes.
      
      At the same time, `IOError.strerror` is consistently `str` and should be passed
      as `str` everywhere.
      81224afd
    • Pierre-Yves David's avatar
      pytype: import typing directly · 9d372155
      Pierre-Yves David authored
      First we no longer needs the pycompat layer, second having the types imported in
      all case will allow to use them more directly in type annotation, something
      important to upgrade the old "type comment" to proper type annotation.
      
      A lot a stupid assert are needed to keep pyflakes happy. We should be able to
      remove most of them once the type comment have been upgraded.
      9d372155
  7. Nov 08, 2023
    • Pierre-Yves David's avatar
      usage: configure uncompressed chunk cache through resource configuration · 58d39c78
      Pierre-Yves David authored
      Let's use this new concept for what it is meant for.
      
      This provides a sizable speed up for reading multiple revision for some complexe
      repositories.
      
      
      ### data-env-vars.name            = pypy-2018-08-01-zstd-sparse-revlog
        # benchmark.name                = hg.perf.read-revisions
        # benchmark.variants.order      = reverse
      memory-medium: 1.892400
      memory-high:   1.722934   (-8.61%)
        # benchmark.variants.order      = default
      memory-medium: 1.751542
      memory-high:   1.589340   (-9.49%)
      58d39c78
  8. Oct 09, 2023
  9. Dec 13, 2023
  10. Dec 24, 2023
  11. Nov 17, 2023
  12. Dec 16, 2023
  13. Dec 18, 2023
  14. Dec 12, 2023
  15. Dec 20, 2023
  16. Dec 01, 2023
  17. Dec 21, 2023
  18. Dec 14, 2023
  19. Dec 06, 2023
Loading