Manman Ren
cc90c81239
[stdlib] add two-operand version of max and use max2 in stdlib when appropriate.
...
This helps array append's performance by ~ 2x. The generic max with a variadic
argument creates a temporary array then iterates over the array.
rdar://17140639 rdar://17073827
Swift SVN r18764
2014-06-09 23:56:40 +00:00
Nadav Rotem
04b17cc63f
Add comments. NFC.
...
Swift SVN r18637
2014-05-26 19:52:01 +00:00
Nadav Rotem
1c3c12fd5e
Fix a bug in the partition() method that is used by sort.
...
The problem was that we were swapping the pivot while partitioning the array.
Thanks Dave!
Swift SVN r18611
2014-05-24 01:24:34 +00:00
Dmitri Hrybenko
a4d9dcf1a7
stdlib: extinguish \brief and \c
...
Swift SVN r18261
2014-05-17 18:10:51 +00:00
Ted Kremenek
9eea282719
Switch range operators ".." and "...".
...
- 1..3 now means 1,2
- 1...3 now means 1,2,3
Implements <rdar://problem/16839891>
Swift SVN r18066
2014-05-14 07:36:00 +00:00
Ted Kremenek
fad874708e
Adjust test cases.
...
Swift SVN r17964
2014-05-12 22:01:52 +00:00
Dmitri Hrybenko
29cebdf797
Splitting the standard library: step 1: move stdlib -> stdlib/core
...
Swift SVN r5864
2013-06-28 02:31:01 +00:00