Slava Pestov
688cd9b79b
hashtables: use each-integer instead of iota ... each in >alist
2009-05-06 15:30:30 -05:00
Doug Coleman
0ad6d1fb7b
add a few usages of iota, remove most 1+ and 1- from core
2009-05-01 19:58:24 -05:00
Slava Pestov
9d1c4f39a8
Some gold plating
2009-05-01 02:03:22 -05:00
Slava Pestov
932d44cab8
Small speedup for code using H{ } clone and with-scope
2009-03-31 08:16:04 -05:00
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
f34c14a0f5
Remove some usages of tuck
2009-01-23 18:20:47 -06:00
Slava Pestov
de3a4f5462
Change some dup ... swap to bi and keep
2008-12-15 21:20:32 -06:00
Slava Pestov
bac338663d
Mark a word inline
2008-12-06 15:31:35 -06:00
Slava Pestov
a56d480aa6
Various optimizations leading to a 10% speedup on compiling empty EBNF parser:
...
- open-code getenv primitive
- inline tuple predicates in finalization
- faster partial dispatch
- faster built-in type predicates
- faster tuple predicates
- faster lo-tag dispatch
- compile V{ } clone and H{ } clone more efficiently
- add fixnum fast-path to =; avoid indirect branch if two fixnums not eq
- faster >alist on hashtables
2008-12-06 09:16:29 -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
9f52ee50b0
Another speedup to >alist: create vector with right size up-front. 10 second bootstrap time reduction
2008-11-12 00:10:50 -06:00
Slava Pestov
ed3a81a503
Faster M: hashtable >alist performs less dispatch and allocates less junk
2008-11-11 23:03:50 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Doug Coleman
dff2c2808b
document ?set-at
2008-09-16 23:14:25 -05:00
Slava Pestov
0c8e2584b4
Fixing unit tests for make, fry changes
2008-09-11 00:20:06 -05:00
Slava Pestov
110a5e5162
Change equality semantics
2008-09-02 02:02:05 -05:00
Slava Pestov
ac2bf0b87d
Adding inline recursive declarations
2008-07-18 19:22:59 -05:00
Slava Pestov
d0ae6bdb8f
Make array length foldable
2008-07-16 16:48:09 -05:00
Slava Pestov
d34d3a6f31
Fix 'hashtable new'
2008-07-13 23:26:20 -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
29fa4a8a54
assoc-find is no longer generic
2008-06-09 05:22:21 -05:00
Doug Coleman
15402ed1b4
core changes:
...
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
2008-04-25 23:12:44 -05:00
Doug Coleman
4597cab824
move some words to sets
...
write docs for sets
started on usings..
2008-04-14 02:20:37 -05:00
Doug Coleman
83aad018ca
add union word
...
move prune
2008-04-14 01:14:46 -05:00
Doug Coleman
30b75a797a
construct-boa -> boa
...
construct-empty -> new
2008-04-13 15:06:09 -05:00
Slava Pestov
48501f1f6e
Documentation fixes
2008-03-29 23:11:45 -05:00
Slava Pestov
c22af5c7a6
Rename 2apply to bi@
2008-03-29 20:36:58 -05:00
Slava Pestov
db7939d68c
Cleanup
2008-03-29 20:28:07 -05:00
Eduardo Cavazos
8ea195d8ce
hashtables: use cleavers in hashtables
2008-03-29 16:08:08 -06:00
Slava Pestov
32526206f1
Help fixes
2008-03-11 19:51:58 -05:00
Eduardo Cavazos
f2463f34ae
hashtables: simplify (key@)
2008-03-06 11:28:49 -06:00
Slava Pestov
e98cd1fd59
New convention for unit tests
2008-03-01 17:00:45 -05:00
Slava Pestov
b60dac99b9
New walker
2008-02-20 23:13:31 -06:00
Slava Pestov
912339d062
Unit test fixes
2008-02-16 02:19:48 -06:00
Slava Pestov
2c73e72e5e
case now optimizes contiguous integer ranges
2008-02-14 01:03:57 -06: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
f73f2b8697
Assorted fixes
2008-01-30 01:10:58 -06:00
Slava Pestov
fcf5801899
Data type cleanups
2008-01-29 23:13:47 -06:00
Slava Pestov
a09e216582
Replace memory>string and string>memory with four primitives and update io.windows.nt.monitor
2008-01-26 23:38:30 -04:00
Slava Pestov
d7217801c3
Documentation fixes
2007-12-11 22:36:40 -05:00
Slava Pestov
2454135fd3
Fix stack overflow when taking hashcode of hashtables with circular structure
2007-10-29 02:18:23 -04:00
Slava Pestov
5fb227926c
Fix odd hashtable growing behavior
2007-10-26 03:59:36 -04:00
U-SLAVA-FB3999113\Slava
8b54248c50
Get core unit tests to pass without number tower
2007-10-14 21:13:42 -04:00
Slava Pestov
849c83247d
Remove redundant stack shuffling from hashtable implementation
2007-10-04 18:45:06 -04:00
Slava Pestov
a96457cecc
Initial import
2007-09-20 18:09:08 -04:00