aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
authorJack Nagel2013-05-06 16:08:50 -0500
committerJack Nagel2013-05-06 16:08:50 -0500
commit62389cc27456151b8f3be1d064e14412cb907066 (patch)
treef8e9a87a8b51b4a76a08495dd953778ccff353bc /Library/Formula/python3.rb
parent0d001785fdb2a6a422debd2f1756e9813ef8c04d (diff)
downloadhomebrew-62389cc27456151b8f3be1d064e14412cb907066.tar.bz2
Reduce allocations in dependency construction
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.
Diffstat (limited to 'Library/Formula/python3.rb')
0 files changed, 0 insertions, 0 deletions