Skip to content
  • Ryan Scott's avatar
    Make DefUses = OrdList DefUse · cb495b3c
    Ryan Scott authored and Marge Bot's avatar Marge Bot committed
    Before, `type DefUses = [DefUse]`. But lists are a terrible choice of
    data structure here, as we frequently append to the right of a
    `DefUses`, which yields some displeasing asymptotics. Let's instead
    use `OrdList`, which has constant-time appending to the right.
    
    This is one step on the way to #10347.
    cb495b3c