Robby Findler
e8573d9478
change the way the prompt testing works to only supply a port, instead of giving over the actual text object
2010-06-20 20:55:04 -05:00
Eli Barzilay
ee57029a92
One more optimization, getting it to 60x.
2010-06-20 18:37:07 -04:00
Eli Barzilay
eec0f4bf66
Yet another 2x factor.
...
(Total ~22x.)
2010-06-20 18:37:06 -04:00
Eli Barzilay
c78f367d9f
Another simple improvement, making things about twice faster.
...
Total speedup is now ~14x.
2010-06-20 18:37:06 -04:00
Eli Barzilay
26c89b2ac6
And one more optimization gets this to a total of 6x improvement.
2010-06-20 18:37:06 -04:00
Eli Barzilay
e975e8e0c8
Another optimization, makes the `fl->fx' issue from the last one
...
irrelevant since it's not using it in the tight loop, but buys a bigger
improvement anyway.
2010-06-20 18:37:06 -04:00
Eli Barzilay
96006264ad
Some improved shootout benchmarks.
...
* An improved version of the `fasta' benchmark: ~2.5 times faster, and
if an inlined `unsafe-fl->fx' is added it is probably going to be
about ~3.5 times faster.
* `reversecomplement' -- revised code that is ~2.5 times faster, further
tweaks and unsafe ops gets it to ~4.5 times.
* Doing the structs differently in `binarytrees' and a few minor tweaks
get it to be ~1.5 times faster. This is probably because a leaf has
now only one field.
* `mandelbrot' improved a little (~1.2x), but the code is pretty much a
rewrite. (Given some more flonum inlining it can probably do much
better.)
* Added a comment to `pidigits-gmp' saying that it was used without
attribution.
These versions use unsafe operations, but I'm not putting them in
separate files since it's easy to turn them off. I've also removed
"mandelbrot-unsafe.rkt", since it was identical to the safe version.
2010-06-20 18:36:25 -04:00
Eli Barzilay
412fd4ff79
Use `exact-integer?'.
2010-06-20 18:34:06 -04:00
Eli Barzilay
b0d7c9d9c1
Updated commented url to docs.
2010-06-20 18:34:06 -04:00
Eli Barzilay
7760a2eaff
Minor clarifications about other editors and the Windows "terminal".
...
(And a few additional tweaks.)
2010-06-20 18:34:06 -04:00
Eli Barzilay
acb86d69f3
Apparently inline styles shouldn't be in comments now.
2010-06-20 18:34:06 -04:00
Eli Barzilay
1fc2a3e171
Rename "outreach+research" -> "learning".
...
* Move learning stuff from "community" to it.
* Set up a redirection page for "outreach+research.html".
2010-06-20 18:18:33 -04:00
Robby Findler
dd6f73255d
removed robby-specific references and commented out the line that clobbers heart.png in the collects directory
2010-06-20 15:28:23 -05:00
Robby Findler
e15f6a1fb9
added a valentine's day splash screen image
2010-06-20 14:14:46 -05:00
Robby Findler
2e67f8bb9f
Refactored the rotation code to support an arbitrary linear transformation
2010-06-20 14:13:16 -05:00
Robby Findler
83a95970b6
when planet installs things, it now resets the use-compiled-file-paths to its default value
2010-06-20 11:24:08 -05:00
Robby Findler
e947c36a74
removed debugging printf
2010-06-20 07:45:48 -05:00
Robby Findler
7bb8c876b6
fixed an obvious bug with the wrong arity to get-compiled-file-sha1 (but this may still be broken in a more subtle way)
2010-06-20 07:42:32 -05:00
Robby Findler
8be8c9b839
fix prop
2010-06-19 19:20:53 -05:00
Sam Tobin-Hochstadt
0a92ce7a43
fix prop
2010-06-19 19:52:49 -04:00
Robby Findler
545f473b72
fixed a mistake in previous commit
2010-06-19 17:42:57 -05:00
Robby Findler
857498e697
Some racketying.
2010-06-19 16:30:06 -05:00
Robby Findler
66d6759c4a
added docs and contracts for some of the planet functions
2010-06-19 16:30:06 -05:00
Stevie Strickland
0aae2c866f
Fix use of add-type-expr from commit 5d835ded
.
2010-06-19 14:58:52 -04:00
Sam Tobin-Hochstadt
1e15ce1f32
Fix error message for 1-arg apply
2010-06-19 14:58:52 -04:00
Robby Findler
7a1538764e
Added the ability for #lang-based languages to specify when an expression should be submitted at the prompt
2010-06-19 12:25:07 -05:00
Robby Findler
e14b330699
fixed some out of date docs
2010-06-19 12:13:48 -05:00
Vincent St-Amour
44acb3eed5
Props fix.
2010-06-19 00:16:04 -04:00
Vincent St-Amour
ad7e63aa76
Props fix.
2010-06-18 23:18:04 -04:00
Robby Findler
bc5ced58e2
More Racketying
2010-06-18 21:35:56 -05:00
Robby Findler
c940caa4d6
renamed the field scheme-menu to language-specific-menu
2010-06-18 21:35:56 -05:00
Vincent St-Amour
c7df0fab35
Props fix.
2010-06-18 20:32:57 -04:00
Vincent St-Amour
f16732adbe
Fixed a typo in the shootout harness.
2010-06-18 20:30:15 -04:00
Vincent St-Amour
1e2c50ec24
Fix to make-vector's type.
2010-06-18 20:24:17 -04:00
Vincent St-Amour
051b480934
Fixed props for the shootout benchmarks.
2010-06-18 20:24:17 -04:00
Robby Findler
c1110d9056
fixed a bug in drracket language dialog (that I introduced yesterday or so)
2010-06-18 17:40:34 -05:00
Robby Findler
4cd7152b62
made the drracket test suite match the new labels in the language dialog.
2010-06-18 17:38:54 -05:00
Robby Findler
ef43830265
added the ability to specify radio button labels as regexps, not just strings
2010-06-18 17:38:26 -05:00
Robby Findler
c2ddede08e
improved the docs slightly
2010-06-18 16:51:15 -05:00
Vincent St-Amour
416f4fd3c3
Added input generation for the regexmatch benchmark.
2010-06-18 17:43:06 -04:00
Vincent St-Amour
5e901b9ef2
The optimizer now promotes integers to floats when they are used as
...
arguments to a function whose result is a float.
2010-06-18 17:43:05 -04:00
Vincent St-Amour
5d835ded47
Added the type of the 1 literals in expressions of the form (- x 1) to
...
the type table.
2010-06-18 17:43:05 -04:00
Vincent St-Amour
894d159123
Disabled thread-ring in the harness, since it calls exit and doesn't
...
display its running time.
2010-06-18 17:43:05 -04:00
Vincent St-Amour
1dc963684b
Rewrote the typed partialsums benchmark to be closer to the untyped
...
version.
2010-06-18 17:43:04 -04:00
Vincent St-Amour
31f285d23c
Adjusted benchmark sizes.
2010-06-18 17:43:04 -04:00
Vincent St-Amour
343e9d23b4
Ported some new benchmarks and variants to Typed Scheme.
2010-06-18 17:43:04 -04:00
Vincent St-Amour
ffad1edd7a
Added the fannkuch-redux benchmark, which replaced fannkuch on the
...
shootout roster.
2010-06-18 17:43:03 -04:00
Vincent St-Amour
ecb614849c
Added type signatures for some byte-string functions.
2010-06-18 17:43:03 -04:00
Vincent St-Amour
7ccae0fb1d
Got rid of assertions in the benchmarks caused by naturals as indices.
2010-06-18 17:43:02 -04:00
Vincent St-Amour
60c3067ddb
Turned indexing back to using integers rather than naturals.
2010-06-18 17:43:02 -04:00
Vincent St-Amour
54eefc52ed
Relaxed some type constraints on the ray tracer benchmark.
2010-06-18 17:43:01 -04:00
Vincent St-Amour
e0b880d1ea
Fixed the sumcol benchmark to obey the new type for read-line.
2010-06-18 17:43:01 -04:00
Vincent St-Amour
72ec18cc68
Rewrote the moments benchmark to potentially benefit from unboxing of
...
loop accumulators.
2010-06-18 17:43:01 -04:00
Vincent St-Amour
06eb544fd6
Fixes to the shootout benchmarks to reflect the new weaker promotion
...
rules.
2010-06-18 17:43:00 -04:00
Vincent St-Amour
ff1c3874cc
Added a coercion to inexact to avoid the case: (* <float> 0) -> exact 0
...
which causes a segfault when the result is used with an unsafe-fl
operation.
2010-06-18 17:43:00 -04:00
Vincent St-Amour
cff4eef7b2
Adjusted input size for the shootout benchmarks.
2010-06-18 17:43:00 -04:00
Vincent St-Amour
31d4da6f39
Added an empty benchmark to measure Typed Scheme's startup time.
2010-06-18 17:42:59 -04:00
Vincent St-Amour
7bb8405871
Fixed a bug in the shootout harness, which threw away generated input.
2010-06-18 17:42:59 -04:00
Vincent St-Amour
3e0446d774
Modified some of the untyped shootout benchmarks to be closer to the
...
typed versions.
2010-06-18 17:42:58 -04:00
Vincent St-Amour
7f3db138e7
Integrated the typed shootout benchmarks to the untyped harness.
2010-06-18 17:42:58 -04:00
Vincent St-Amour
d48f1bb6aa
Racketified the untyped shootout benchmarks.
2010-06-18 17:42:58 -04:00
Vincent St-Amour
4fde1e8ccb
Ported most of the shootout benchmarks to Typed Scheme.
2010-06-18 17:42:57 -04:00
Robby Findler
37ae5a338b
added documentation for the flipping functions
2010-06-18 16:37:58 -05:00
Robby Findler
0c0009465e
removed a bogus case in the definition of np-atomic-shape predicate
2010-06-18 16:21:14 -05:00
Robby Findler
132867518c
added support for flipping bitmaps
2010-06-18 16:21:14 -05:00
Robby Findler
27bd7934d7
fixed flipping for curves
2010-06-18 16:21:13 -05:00
Robby Findler
ca7bf92054
added basic flipping (bitmaps not done yet)
2010-06-18 16:21:13 -05:00
Robby Findler
f76f711261
duh
2010-06-17 23:49:00 -05:00
Vincent St-Amour
b39f686e7e
Fixed the type of unsafe-car and unsafe-cdr.
2010-06-17 19:06:24 -04:00
Vincent St-Amour
07c1f1e94f
Added types for some bitwise operations.
2010-06-17 19:06:24 -04:00
Vincent St-Amour
674046f39d
Fixed a mistake in the byte-string reference.
2010-06-17 18:45:28 -04:00
Vincent St-Amour
cc796a9f9a
Added types for thread mailbox operations.
...
Can't have typed mailboxes, though.
2010-06-17 18:45:28 -04:00
Vincent St-Amour
c4e035dd67
Got rid of a reference to the non-existent channel/c.
2010-06-17 18:45:28 -04:00
Robby Findler
87f6a6bb1e
added error checking for use in drdr
2010-06-17 15:54:12 -05:00
Casey Klein
dc8fc24e89
Fixes a bug in which effectful meta-function applications were cached.
2010-06-17 14:28:31 -05:00
Casey Klein
318ec585bc
Fixes a bug in the VM model
2010-06-17 14:28:31 -05:00
Sam Tobin-Hochstadt
02238a7c6d
Fix contract for structs
2010-06-17 15:26:13 -04:00
Robby Findler
924cee89c6
attempted to clarify the first example on eval
2010-06-17 13:02:37 -05:00
Robby Findler
0b34368d08
added keyboard shortcuts to the two radio buttons in the language dialog.
2010-06-17 13:02:37 -05:00
Sam Tobin-Hochstadt
0262ef681a
handle multiple body expression properly
2010-06-17 12:50:30 -04:00
Sam Tobin-Hochstadt
77e4bbb5eb
base-types-new -> base-types
2010-06-17 11:47:16 -04:00
Sam Tobin-Hochstadt
bdbb6d48e6
Try harder to find types for loop variables.
...
- use `find-annotation' more
- recognize (let ([x y]) ...)
2010-06-17 11:26:33 -04:00
Sam Tobin-Hochstadt
8a0bab9fe3
Disable use of macro-debugger/emit
2010-06-16 20:04:28 -04:00
Eli Barzilay
ca3b27b810
Allow #:part-of to use symbolic names, add it to a bunch of pages.
...
(Using a symbolic name makes it easy to use without worrying about
circular dependencies.)
2010-06-16 16:49:02 -04:00
Eli Barzilay
f1eec03a2d
Fix two places in code.rkt that could use #f as an anchor, resulting in
...
...##f urls.
2010-06-16 16:49:02 -04:00
Eli Barzilay
5da56167a9
Move xml->string to a more proper place
2010-06-16 16:49:02 -04:00
Eli Barzilay
8694d7b8ae
Provide resources from download (so do this from all uses of
...
`define+provide-context'); dirlist uses that instead of www.
Also dropped redundant provides of `page'.
2010-06-16 16:49:02 -04:00
Eli Barzilay
f0c28ad0e8
Make dirlist use www resources
2010-06-16 16:49:02 -04:00
Eli Barzilay
4f6502129a
Finish previously incomplete treatment of contexts with #:resource
2010-06-16 16:49:02 -04:00
Eli Barzilay
098b32b0af
Add template files for browsing the installer dirs directly.
2010-06-16 16:49:02 -04:00
Eli Barzilay
1cce6c1f88
Factor our the common path computation.
2010-06-16 16:49:01 -04:00
Eli Barzilay
00bca21339
Typo in error message
2010-06-16 16:49:01 -04:00
Robby Findler
a4726678ff
added documentation for the extended gui-interaction & co. operators
2010-06-16 11:58:58 -05:00
Robby Findler
22bc8f6d87
a bunch of little fixes to the 2htdp/image library (and related) for sfp submission:
...
- added in the htdp/image version of the performance test case
- made gui-eval work with things other than slideshow
- extended render-image so that it works on bitmaps and image-snips
2010-06-16 11:58:58 -05:00
Vincent St-Amour
765d573441
Fixed a typo in the profiler documentation.
2010-06-16 12:49:01 -04:00
Vincent St-Amour
a31a7b0718
Added mutable lists to Typed Scheme.
2010-06-16 12:49:01 -04:00
Vincent St-Amour
bb0747f589
Rewrote the indexing code.
2010-06-16 12:49:00 -04:00
Vincent St-Amour
9959f05054
Moved some indexing functions' type signatures.
2010-06-16 12:48:59 -04:00
Vincent St-Amour
8dfd7d87ec
Reimplemented assert as a macro.
2010-06-15 16:39:33 -04:00
Vincent St-Amour
93e5d0e9dc
Added an option to subtract the running time of the empty benchmark to
...
the tabulator.
2010-06-15 16:39:32 -04:00