Commits

Erik Eckstein committed 9c1e42c82d9
stdlib: Explicitly disable inlining of _forceCreateUniqueMutableBuffer. This function is on the slow path (unfortunately I could not use the _fastPath intrinsic, which would be a better alternative to @inline(never)). The effect is that it keeps the calling functions (Array.append) small and lets the inliner inline the calling functions. This change fixes the performance degradation of Ary/Ary2: Ary: +53 @ -O, +40% @ -Ounchecked Ary2: +32% @ -O, +20% @ -Ounchecked Other improvements/degradations: QuickSort: +21% @ -Ounchecked Chars: +9% @ -O CaptureProp: -13% @ -O InsertionSort: -12% @ -Ounchecked SwiftStructuresBubbleSort: -11% @ -Ounchecked Swift SVN r24554