Commit Graph

13 Commits

Author SHA1 Message Date
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
Michael Gottesman
9dc54410e5 Change the prims cpp benchmark to match the prims swift benchmark.
Also up the number of iterations the swift benchmark in the stdlib runs so that
it matches the number of iterations the c++ version does. This iteration number
is enough to cause the c++ version to run for ~1 second. With this same number
of iterations, the swift version takes ~10 seconds.

Swift SVN r15205
2014-03-18 21:45:41 +00:00
Michael Gottesman
b0ff333390 Revert "Revert "Add prims to Benchmark.swift.""
This reverts commit r15200. This readds prim with a smaller test case to get
around type checker slowness that causes the compiling with Benchmarks to be
prohibitively slow. Now we use a smaller dataset but run it for more times.

Swift SVN r15204
2014-03-18 21:13:22 +00:00
Michael Gottesman
76d1053768 Revert "Add prims to Benchmark.swift."
This reverts commit r15164. I need to reduce the size of the test case and run
it more times instead. I am reverting this for now to unblock Nadav. When it is
fixed I will recommit it.

Swift SVN r15200
2014-03-18 20:42:41 +00:00
Michael Gottesman
997356fdd4 Add prims to Benchmark.swift.
We are actually doing a pretty good job optimizing this (even though I
am sure it could be better). The test case is a 5000 node prim run. IIRC
when I ran the cpp version of this on my local cpu it was instantaneous.
The swift version is ~1.5 seconds.

Swift SVN r15164
2014-03-17 23:03:06 +00:00
Michael Gottesman
0629b9def7 Add in small data case for prims and a driver.
Swift SVN r15157
2014-03-17 20:39:02 +00:00
Michael Gottesman
444efcb8f8 Update the non-driver part of the swift implementation of prim to match
the cpp implementation. The driver still needs to be implemented.

Swift SVN r15153
2014-03-17 20:05:13 +00:00
Michael Gottesman
f4f42e50f1 Updates to Prims so that the c++ code actually works. Now it has a test harness/test cases/test data generator/etc. Still need to make the relevant swift modifications.
Swift SVN r14523
2014-02-28 17:47:57 +00:00
Ted Kremenek
028f9d0561 Remove rest of Makefile build except for 'docs' and 'www'.
For 'docs' and 'www' it is possible these are still being used,
as they work independent of the Makefile build.  Keeping them for now.

Swift SVN r14418
2014-02-26 22:21:25 +00:00
Michael Gottesman
75632d4c11 [prim] Remove some cruft that snuck in.
Swift SVN r14121
2014-02-20 01:25:38 +00:00
Michael Gottesman
8ac2e799c6 [prims] Update prims given recent language changes.
Swift SVN r14119
2014-02-20 01:08:47 +00:00
Michael Gottesman
f50163308c Added first graph benchmark prims, an implementation of prim's minimum spanning tree computation.
*NOTE* This is not ready yet. I still need to write tests for it.

Swift SVN r13933
2014-02-15 01:25:43 +00:00