_stream.py, _project.py: Manage GC during pipeline load

Description

We generate a lot of objects during selection loading. This over-exercises the Python GC wasting an awful lot of CPU.

Changes proposed in this merge request:

  • Add a _with_gc_disabled decorator to utils.py
  • Manage the GC during the pipeline load

Edited by Daniel Silverstone

Merge request reports

Loading