#43 Speed up some components in `_get_candidate_file_descriptor_ranges` loop.
Closed by bignose. Opened by bignose.
wip/issue/40/large-nofile-slow-closefds  into  master

Download 43.patch
  • Extract to module level the creation of the full set of file descriptors.
  • Migrate from a custom collections.namedtuple type, to instead use a native tuple for representing a file descriptor range.

These are speed optimisations for the inner loop of the frequently-called _get_candidate_file_descriptor_ranges function; see issue #40.

rebased onto a65465572773d6298523dffdc8d2b07f4221ab2d

These changes are now part of the main branch (commit aac98d4f). Closing this merge request.

Pull-Request has been closed by bignose

Metadata