Skip to content
Snippets Groups Projects

Merged stable branch into default

Merged Georges Racinet requested to merge topic/default/merge-stable into branch/default
  1. Sep 20, 2023
  2. Sep 19, 2023
    • Georges Racinet's avatar
      SearchFilesByContent: improving memory efficiency · e40148cc
      Georges Racinet authored
      This iterator-based approach just keeps a small window of up to 3
      lines in RAM, instead of the full list previously obtained with
      splitlines()`).
      
      It uses `collections.deque` (natively implemented), to make sure the
      window will never be reallocated. On the other hand, matching lines
      are allocated afresh, which is expected not to be a problem.
      
      At this point, further improvements should take the form of an implementation
      in RHGitaly.
      e40148cc
  3. Sep 17, 2023
Loading