Files
swift-mirror/lib/SILOptimizer/Transforms/ArrayElementValuePropagation.cpp
Erik Eckstein 76eca003bb ArrayElementValuePropagation: explicitly reserve space for new elements when doing the array-content-of optimization
When Array.append(contentOf:) is replaced by individual Array.append(element) calls, an explicit reserveCapacityForAppend is inserted.
2017-04-27 09:06:56 -07:00

13 KiB