[MacPorts] #56793: macports base: installing a port with many files appears to hang; file registration loop slows dramatically for file counts > 10,000

MacPorts noreply at macports.org
Tue May 25 09:41:51 UTC 2021


#56793: macports base: installing a port with many files appears to hang; file
registration loop slows dramatically for file counts > 10,000
-----------------------+---------------------
  Reporter:  yan12125  |      Owner:  mascguy
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  base      |    Version:  2.7.0
Resolution:  fixed     |   Keywords:
      Port:            |
-----------------------+---------------------
Changes (by jmroot):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"fc212a0b550ed961d07c261c715ca83580deac56/macports-base"
 fc212a0b550ed961d07c261c715ca83580deac56/macports-base] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-base"
 revision="fc212a0b550ed961d07c261c715ca83580deac56"
 Remember previous id lower bounds in *_to_obj

 Doing a linear search starting at 0 in unique_name gets very slow when
 there are a lot of objects in existence.

 Fixes: https://trac.macports.org/ticket/56793
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/56793#comment:25>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list