Commit Graph

13656 Commits

Author SHA1 Message Date
Eli Barzilay
0b6ae05e9b Use unsafe operations for dealing with the vectors and indexes.
svn: r17007
2009-11-23 18:51:03 +00:00
Eli Barzilay
ea94f5dea5 Added `copying-insertionsort' for small blocks, some fixes.
svn: r17006
2009-11-23 18:50:12 +00:00
Eli Barzilay
ab832a3b4d Optimize copying-quicksort by passing around only two indexes and the
length of the block.

svn: r17005
2009-11-23 18:49:38 +00:00
Eli Barzilay
d46beb2325 Works on lists of any size now.
svn: r17004
2009-11-23 18:48:46 +00:00
Eli Barzilay
c68eeb97ca Further optimizations to `merge'.
svn: r17003
2009-11-23 18:48:06 +00:00
Eli Barzilay
ebfdbe4bb0 Combined the two merge functions into one macro, and improved it a little.
svn: r17002
2009-11-23 18:47:32 +00:00
Eli Barzilay
a272c479a6 First version of a vector-based "half-copying" merge sort, which will end up
being more than twice faster than the current version.

[Currently works only with 2^n lists, and otherwise broken -- committed
to keep the development history in svn.]

svn: r17001
2009-11-23 18:46:40 +00:00
Matthew Flatt
f719aac2be scheme/future, sequential futures implementation when --enable-futures not specified; doc updates
svn: r16999
2009-11-23 18:12:23 +00:00
Jay McCarthy
7662ef4bc1 Eli says it is a bad hack.
svn: r16998
2009-11-23 18:04:15 +00:00
Matthew Flatt
9f57ba92f1 minor details in futures docs
svn: r16997
2009-11-23 17:43:15 +00:00
Jay McCarthy
342fb61208 There is a race condition in this code. This doesn't totally fix it, if another process is creating and deleting the directory quickly, but it will help.
svn: r16996
2009-11-23 17:20:41 +00:00
Robby Findler
54adde155a svn: r16995 2009-11-23 17:05:09 +00:00
Robby Findler
e97b9c0675 svn: r16994 2009-11-23 16:57:52 +00:00
Robby Findler
4d5044d213 svn: r16993 2009-11-23 16:57:23 +00:00
Robby Findler
e461f42ad3 svn: r16991 2009-11-23 16:53:39 +00:00
Mike Sperber
ff04d114f7 Fix web-server doc snafu.
svn: r16990
2009-11-23 16:32:04 +00:00
Mike Sperber
ffadf59303 Fix really stupid bug in `convert-explicit'.
svn: r16989
2009-11-23 11:21:30 +00:00
Matthias Felleisen
0317676d11 history updated, please propagate
svn: r16976
2009-11-23 00:25:45 +00:00
Matthew Flatt
78578a3eab convert START_XFORM_SKIP...END_XFORM_SKIP mostly to XFORM_SKIP_PROC
svn: r16972
2009-11-22 23:30:21 +00:00
Matthew Flatt
6395be3347 work around GL drawing problem that appears in Snow Leopard (merge to 4.2.3)
svn: r16966
2009-11-22 20:26:21 +00:00
Matthew Flatt
6cce258a7f update release notes for v4.2.3 (merge to v4.2.3)
svn: r16964
2009-11-22 19:52:13 +00:00
Matthew Flatt
47c66b71eb fix pasteboard% 'remove' (merge to 4.2.3)
svn: r16963
2009-11-22 15:43:15 +00:00
Matthew Flatt
178d0f8e34 fix problems with the embedded command-line length (merge to 4.2.3)
svn: r16962
2009-11-22 15:31:18 +00:00
Matthew Flatt
8a5c0e854a fix dynext flags for Mac to include -m32 (merge to 4.2.3)
svn: r16961
2009-11-22 15:27:07 +00:00
Eli Barzilay
d94360ddfc Welcome to a new PLT day.
svn: r16955
2009-11-22 08:50:24 +00:00
Matthew Flatt
d4cbb3b9a7 fix future-creation record declaration for 3m
svn: r16953
2009-11-22 02:58:59 +00:00
Matthew Flatt
79817a2087 slimy pthread_getspecifc()-inlining trick to practically eliminate the overhead of futures support under OS X
svn: r16952
2009-11-22 02:34:40 +00:00
Eli Barzilay
28f5070d5e undo accidental commenting
svn: r16951
2009-11-22 02:22:19 +00:00
Eli Barzilay
09c8baf7e7 Re-enable context searches for the htdp languages, with results that
come from the language or the teachpacks.

svn: r16945
2009-11-21 22:05:28 +00:00
Eli Barzilay
65be0295cf Added A:{ ... } and O:{ ... } for and' and or' queries, and Q:foo for
"quoted" things so "}" can be included in these.  Not documented at the
user level for now, since I'm not sure that this will work fine in
general, but it's good enough to reactivate context-sensitive searches.

svn: r16944
2009-11-21 21:55:34 +00:00
Eli Barzilay
128da973df Truing to use JS `eval' in several ways doesn't seem to be doing
anything for speed.  So dump all attempts at making things faster this
way.  Also, it seems that things are responsive enough with any break in
the searching "thread", so shorten that time.  (And one other random
optimization: abort early when an item doesn't match.)

svn: r16943
2009-11-21 21:53:06 +00:00
Matthew Flatt
fbf7f79d8c fix get-default-print-size n landscape mode
svn: r16942
2009-11-21 16:17:08 +00:00
Matthew Flatt
7b05f75878 misc fixes to build related to thread-local support
svn: r16941
2009-11-21 16:16:41 +00:00
Robby Findler
9454a471d3 added some vector-copy tests
svn: r16940
2009-11-21 13:21:30 +00:00
Eli Barzilay
e3a23fbde6 Welcome to a new PLT day.
svn: r16938
2009-11-21 08:50:32 +00:00
Matthew Flatt
e7f47a0882 fix XFORM_SKIP annotation placement that MSVC doesn't like
svn: r16936
2009-11-21 04:25:01 +00:00
Matthew Flatt
41bf71fa06 futures minor re-org to prepare for mixing futures and places
svn: r16934
2009-11-21 04:05:23 +00:00
Eli Barzilay
35b62665ae fix error messages
svn: r16933
2009-11-21 00:16:08 +00:00
Robby Findler
47e46efd46 added the various 'for' forms to the square backet default preferences
svn: r16932
2009-11-21 00:15:00 +00:00
Robby Findler
7b6eb65d79 vector-copy now works for empty vectors
svn: r16930
2009-11-20 22:43:01 +00:00
Stevie Strickland
2a7664eba8 Fix up docs for flat-named-contract.
svn: r16929
2009-11-20 21:35:26 +00:00
Stevie Strickland
71eef1bbd8 Allow for changing the name on flat contracts via flat-named-contract.
svn: r16928
2009-11-20 20:45:45 +00:00
Ryan Culpepper
f540fc8f00 macro-debugger: fixed binder discovery for lambda
Please propagate this change to the release branch.

svn: r16926
2009-11-20 19:36:24 +00:00
Ryan Culpepper
34380bbd10 macro-debugger/syntax-browser:
misc code cleanups
  added module for making images

svn: r16925
2009-11-20 19:09:39 +00:00
James Swaine
074450e268 fixed futures (processor-count) on OS X (was previously always returning 1)
svn: r16924
2009-11-20 16:41:07 +00:00
Matthew Flatt
9367b1bbad alternate use of registers by JIT in 32-bit thread-local mode
svn: r16923
2009-11-20 15:42:05 +00:00
Matthew Flatt
c8b2ba9d3f future GC lock repair
svn: r16921
2009-11-20 14:04:59 +00:00
Matthew Flatt
1991cde5a7 fix handling of future atomic runtime requests
svn: r16920
2009-11-20 13:59:46 +00:00
Matthew Flatt
314faa6690 count future allocation toward GC trigger
svn: r16919
2009-11-20 13:00:31 +00:00
Eli Barzilay
684debc749 Welcome to a new PLT day.
svn: r16918
2009-11-20 08:50:35 +00:00