Commit Graph

33 Commits (0f0bf667b51cc5a8435d9469e7cc622bf71cc09f)

Author SHA1 Message Date
Slava Pestov 030b1b816c Add inline declarations for various assorted methods 2009-08-17 22:32:21 -05:00
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 932d44cab8 Small speedup for code using H{ } clone and with-scope 2009-03-31 08:16:04 -05: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
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 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 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
Eduardo Cavazos f2463f34ae hashtables: simplify (key@) 2008-03-06 11:28:49 -06:00
Slava Pestov b60dac99b9 New walker 2008-02-20 23:13:31 -06:00
Slava Pestov 2c73e72e5e case now optimizes contiguous integer ranges 2008-02-14 01:03:57 -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 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
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