Jay McCarthy
a9c32a62d4
Saving paren progress
2010-06-25 17:08:13 -06:00
Jay McCarthy
a98547b033
docs
2010-06-25 17:08:13 -06:00
Jay McCarthy
73b4059ade
Tests
2010-06-25 17:08:13 -06:00
Jay McCarthy
e752682879
Typo
2010-06-25 17:08:13 -06:00
Jay McCarthy
33f5d90592
Clean up
2010-06-25 17:08:13 -06:00
Jay McCarthy
ee8477ca13
Removing tool and using new repl submit
2010-06-25 17:08:13 -06:00
Jay McCarthy
80da9872e0
Cleaning up printer
2010-06-25 17:08:12 -06:00
Jay McCarthy
353ef05902
Removing pprint dependency
2010-06-25 17:08:12 -06:00
Jay McCarthy
01bed35ca1
Typos
2010-06-25 17:08:12 -06:00
Jay McCarthy
4bb6c1ddcf
Typo
2010-06-25 17:08:12 -06:00
Jay McCarthy
239af8c1c7
Removing some of planet
2010-06-25 17:08:12 -06:00
Jay McCarthy
498c3019b4
Removing some of planet
2010-06-25 17:08:12 -06:00
Jay McCarthy
09f6e5bee4
Rackety
2010-06-25 17:08:12 -06:00
Jay McCarthy
f2c4e84006
Responsible
2010-06-25 17:08:12 -06:00
Jay McCarthy
940db1ab6c
Initial add of Datalog
2010-06-25 17:08:11 -06:00
Vincent St-Amour
a6c75db94f
Fixed typos in the numbers reference.
2010-06-25 18:01:41 -04:00
Eli Barzilay
f5a0e6e0b8
Undo the racket/init symbolic form thing.
...
It needs to be (lib "racket/init") because that's the way that racket
uses the -I flag. I think that I ran into this in the past, so drop in
a comment explaining this.
This reverts commit f58b58383f
.
2010-06-25 16:05:58 -04:00
Vincent St-Amour
28acece484
Fixed Typed Scheme's optimizer's test harness to work with drdr.
2010-06-25 13:25:42 -04:00
Eli Barzilay
f58b58383f
Adjust tests to requiring racket/init in symbolic form.
2010-06-25 11:01:05 -04:00
Vincent St-Amour
382a45ad6f
Fixed the optimizer so that it optimizes float comparisons.
2010-06-25 11:00:26 -04:00
Vincent St-Amour
d6008f9191
Typed Scheme now optimizes (exact->inexact <Integer>) to (->fl <Integer>).
2010-06-25 11:00:25 -04:00
Vincent St-Amour
17f0d146f1
Adjusted benchmark sizes.
2010-06-25 11:00:25 -04:00
Vincent St-Amour
bc0d0a6e18
Unified the nbody-vec benchmarks so that they only differ by their use
...
of flonum or unsafe operations.
2010-06-25 11:00:25 -04:00
Vincent St-Amour
369ce44416
Made the default nbody benchmark unsafe.
2010-06-25 11:00:24 -04:00
Vincent St-Amour
a14c31a1de
Changed dderiv to be closer to the untyped version.
2010-06-25 11:00:24 -04:00
Vincent St-Amour
b345d5f0f0
Typed Scheme now optimizes (fl)vector-length for all vectors and
...
vector-(ref,set!) for vectors of known length.
2010-06-25 11:00:24 -04:00
Vincent St-Amour
fd987546b3
Wrote a test harness and a couple of tests for Typed Scheme's optimizer.
2010-06-25 11:00:23 -04:00
Vincent St-Amour
d47221c55d
Added better tracing to the optimizer.
2010-06-25 11:00:23 -04:00
Vincent St-Amour
8c8dbf0895
Fixes to some benchmarks due to the new fixnum types.
2010-06-25 11:00:23 -04:00
Vincent St-Amour
cea65c195b
Fixed typed wrappers for the typed versions of mandelbrot.
2010-06-25 11:00:22 -04:00
Vincent St-Amour
a4236b0b3b
Propagated Eli's bugfix to the typed version of binarytrees.
2010-06-25 11:00:22 -04:00
Matthew Flatt
0791b453bf
fix JIT validator in no-slot-reuse mode
2010-06-25 08:57:33 -06:00
Matthew Flatt
09d70be7ae
always keep stack aligned to 16 bytes in JITted code on x86
2010-06-25 07:17:27 -06:00
Jay McCarthy
ba31d8c429
Fixing contracts and a little less allocation
2010-06-25 07:10:52 -06:00
Jay McCarthy
0ed6e4a396
This seems to fix pr10980
2010-06-25 07:10:51 -06:00
Jay McCarthy
27d8f5a039
Adding contracts to track down problem
2010-06-25 07:10:51 -06:00
Sam Tobin-Hochstadt
3251712ef7
More fixnum improvements.
2010-06-24 18:17:01 -04:00
Sam Tobin-Hochstadt
4b1c62c978
Add Fixnum type.
2010-06-24 18:05:55 -04:00
Sam Tobin-Hochstadt
ff91973397
fix prop
2010-06-24 18:05:55 -04:00
Eli Barzilay
b46cb492bb
Reorganize as function calls, to make it easier to customize.
2010-06-24 17:17:10 -04:00
Sam Tobin-Hochstadt
a33f460b25
recreate selector table automatically.
2010-06-24 16:48:10 -04:00
Sam Tobin-Hochstadt
40ca16bc30
Types are not quotable.
2010-06-24 16:47:25 -04:00
Sam Tobin-Hochstadt
5b1118d514
More options for test runner.
2010-06-24 16:46:31 -04:00
Sam Tobin-Hochstadt
3c8952d63d
Use the correct field numbers in substructs.
...
Maintain table of struct accessors/mutators.
2010-06-24 14:53:38 -04:00
Sam Tobin-Hochstadt
3078807757
Better handling of unsafe identifier generation.
2010-06-24 11:05:55 -04:00
Jay McCarthy
428412036f
Fixing PR 10970
2010-06-23 16:29:23 -06:00
Eli Barzilay
3f36d054f6
Turn contracts on enqueue!' and
dequeue!' into the usual error checks.
...
On a simple benchmark of:
(let ([N 100000]
[M 20]
[q (make-queue)])
(time (for ([i (in-range M)])
(for ([i (in-range (* i N))]) (enqueue! q i))
(unless (for/and ([i (in-range (* i N))]) (list i (dequeue! q)))
(error "poof")))))
I get these timings:
original version: cpu time: 24438 real time: 24439 gc time: 8164
single-links: cpu time: 17848 real time: 17849 gc time: 4859
this version: cpu time: 6519 real time: 6519 gc time: 3032
In addition, cleaned up the documentation a little, and mention the fact
that it is not thread safe.
2010-06-23 16:13:54 -04:00
Eli Barzilay
d986fed725
Uses a simpler single-linked list, about half of the meat code, and much
...
faster due to the removed overhead of dealing with the redundant
pointers.
2010-06-23 16:13:53 -04:00
Eli Barzilay
8a5bceece1
Various comments on problematic aspects of the code.
2010-06-23 16:13:53 -04:00
Matthew Flatt
42c7b2b9d3
fix missed parts of the hash-table hahing bug
2010-06-23 07:09:59 -10:00