Skip to content
Snippets Groups Projects
  • Jack Nagel's avatar
    b3220203
    Reduce allocations in dependency construction · b3220203
    Jack Nagel authored
    By always passing around a single, unnested array rather than splatting
    and then defensively flattening and compacting things, we can avoid
    allocating a bunch of unnecessary arrays. This gives a performance boost
    of roughly 4% when enumerating 2500 formulae, and has the side effect of
    cleaning up the dependency API.
    b3220203
    History
    Reduce allocations in dependency construction
    Jack Nagel authored
    By always passing around a single, unnested array rather than splatting
    and then defensively flattening and compacting things, we can avoid
    allocating a bunch of unnecessary arrays. This gives a performance boost
    of roughly 4% when enumerating 2500 formulae, and has the side effect of
    cleaning up the dependency API.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.