Commit Graph

26 Commits (6c8ea5e7d490ba5fcfa3b75b753f3643e4fec24a)

Author SHA1 Message Date
Slava Pestov 6a89e4ee3b Updating sequence and hashtable documentation to point more clearly at the relevant generic operations defined on these types 2009-02-16 21:06:28 -06:00
Slava Pestov f8d80faed3 Add 1sequence word. Add unit tests for existing 1vector and 1byte-array words, and make them use 1sequence 2009-02-04 05:13:12 -06:00
Slava Pestov 0290be6e93 Exploit the fast-path for allocation of array with initial element 0 by changing
new-sequence on arrays, the vector constructor, and resize-array, called when
growing vectors, to fill arrays with 0 instead of f. user code never observes the
initial value in these situations anyway. small speedup on bootstrap
2008-12-06 18:37:28 -06:00
Slava Pestov 252b1eb513 Faster conversion of sbufs, vectors and byte-vectors to their corresponding fixed-size type respectively; we call the resize-T primitive on the underlying sequence instead of >T 2008-12-05 06:37:19 -06:00
Slava Pestov a4d9cdfeb3 Refactor all usages of >r/r> in core to use dip, 2dip, 3dip
Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r>
2008-11-23 02:44:56 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov f7eecc7893 Move bit-arrays and float-arrays to extra 2008-07-02 02:03:30 -05:00
Slava Pestov eb6a1de4a1 Some cleanup 2008-07-01 20:19:03 -05:00
Slava Pestov 77c4d97785 Some unit test fixes 2008-06-30 03:57:00 -05:00
Slava Pestov 3b41e31584 More tuple declaration work 2008-06-29 21:37:57 -05:00
Slava Pestov b36e06d0d6 Builtinn types now use new slot accessors; tuple slot type declaration work in progress 2008-06-28 02:36:20 -05:00
Slava Pestov 01c3a185b8 Fixing tests 2008-06-13 15:35:40 -05:00
Slava Pestov 045b657474 Move replicate into core; move selection sort into its own vocab; remove usages of and? and or? which are redundant now 2008-06-13 01:51:46 -05:00
Doug Coleman 2edd0fefc9 new -> new-sequence
construct-empty -> new
construct-boa -> boa
diff -> assoc-diff
union -> assoc-union
intersect -> assoc-intersect
2008-04-13 22:58:07 -05:00
Doug Coleman 30b75a797a construct-boa -> boa
construct-empty -> new
2008-04-13 15:06:09 -05:00
Doug Coleman fafd00bae7 rename new -> new-sequence 2008-04-13 12:54:58 -05:00
Slava Pestov c22af5c7a6 Rename 2apply to bi@ 2008-03-29 20:36:58 -05:00
Slava Pestov 32526206f1 Help fixes 2008-03-11 19:51:58 -05:00
Slava Pestov e98cd1fd59 New convention for unit tests 2008-03-01 17:00:45 -05:00
Slava Pestov be2c8b13d7 Rename unit-test-fails to must-fail and add must-fail-with to replace [ t ] [ [ ... ] catch ... ] unit-test idiom 2008-02-06 13:47:19 -06:00
Slava Pestov fcf5801899 Data type cleanups 2008-01-29 23:13:47 -06:00
Slava Pestov 0cd2f857fe bit-vectors byte-vectors float-vectors 2008-01-29 15:04:26 -06:00
Slava Pestov b870bce81d Add inline declarations 2008-01-13 17:09:01 -05:00
U-SLAVA-FB3999113\Slava e9b42fa635 Move more math stuff to extra/, get compiler to work without ratios/complex numbers 2007-10-14 20:38:23 -04:00
Slava Pestov 1c1e6a7af0 Fix vector implementation bug 2007-10-06 13:34:49 -04:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00