Joe Groff
02e961ac77
cocoa ui compile fixes
2008-12-08 21:00:47 -08:00
Joe Groff
50887f0cfe
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-08 19:32:49 -08:00
Joe Groff
0b42f11683
cocoa backend for offscreen world rendering
2008-12-08 19:30:10 -08:00
Doug Coleman
44e582bbeb
update all editors for windows 64 to look in "program files" and "program files (x86)"
2008-12-08 20:11:24 -06:00
Doug Coleman
90cdb6c4f4
remove >r r>
2008-12-08 00:10:24 -06:00
Doug Coleman
24c9337db6
remove >r r>
2008-12-08 00:05:52 -06:00
Doug Coleman
819239edb9
add file-systems. word
2008-12-07 23:51:13 -06:00
Slava Pestov
e4f8448eb1
Fix some problems with arithmetic type inference, exposed by recent changes to log2 word
...
- declared input type for bignum-shift was stricter than the runtime behavior, leading to bad propagation of type info if shift count was a bignum
- types inferred for type functions which used number-valued/integer-valued/real-valued were not always precise, eg bignum bignum bitxor => integer
- add interval-log2, type function for (log2)
- remove math-class-min, it was useless
2008-12-07 19:44:49 -06:00
Slava Pestov
3469d50b91
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-07 08:51:40 -06:00
Slava Pestov
ce269c8733
Fix grouping unit test
2008-12-07 08:50:59 -06:00
Doug Coleman
9ec5896a3a
Move two unit tests
2008-12-07 08:39:16 -06:00
Doug Coleman
1e53cf6c9f
upper? was copy/pasted and WRONG. found with extra/lint
2008-12-07 01:36:10 -06:00
Doug Coleman
4a5bf7e9d1
remove moved docs
2008-12-06 23:08:18 -06:00
Doug Coleman
3821b417af
remove finance words from calendar
2008-12-06 23:04:54 -06:00
Doug Coleman
14fb58f448
swap ... 3append -> surround in basis
2008-12-06 18:58:45 -06:00
Doug Coleman
45e428f186
fix file-systems on mac
2008-12-06 18:25:35 -06:00
Slava Pestov
080cc92239
Add a new deploy test for a new problem, clean up deploy tests, uncomment bunny test now that bunny is back in extra
2008-12-06 17:45:41 -06:00
Slava Pestov
d62e867db3
Dusting off old kqueue code
2008-12-06 17:35:15 -06:00
Slava Pestov
d84d267948
Add some CFFileDescriptor-related functions
2008-12-06 17:35:04 -06:00
Slava Pestov
0359ec8eac
Fix PowerPC backend again
2008-12-06 16:57:28 -06:00
Slava Pestov
84dba13c9a
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-06 15:41:26 -06:00
Slava Pestov
8a8f0c925c
Use BSR instruction to implement fixnum-log2 intrinsic
2008-12-06 15:31:17 -06:00
Slava Pestov
d2ce4355f8
Fixing PPC backend
2008-12-06 15:30:40 -06:00
Eduardo Cavazos
ebf0f27773
concurrency.messaging-docs: Use consistent spelling for 'threads'.
2008-12-06 15:12:59 -06:00
Eduardo Cavazos
b256539500
ui.gadgets.sliders: Rewrite 'slider-scale' to not use shuffle words
2008-12-06 15:03:02 -06:00
Slava Pestov
03dd5db902
Documentation update
2008-12-06 14:24:44 -06:00
Slava Pestov
9c2e8abaca
Enable more local DCE
2008-12-06 14:24:31 -06:00
Slava Pestov
145b635eb6
More optimization intended to reduce compile time. Another 10% speedup on compiling empty PEG parser
...
- new map-flat combinator replaces usages of 'map flatten' in compiler
- compiler.tree.def-use.simplified uses an explicit accumulator instead of flatten
- compiler.tree.tuple-unboxing uses an explicit accumulator instead of flatten
- fix inlining regression from last time: custom inlining results would sometimes be discarded
- compiler.tree's 3each and 3map combinators rewritten to not use flip
- rewrite math.partial-dispatch without locals (purely stylistic, no performance increase)
- hand-optimize flip for common arrays-of-arrays case
- don't run escape analysis and tuple unboxing if there are no allocations in the IR
2008-12-06 11:17:19 -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
e95bda8144
Fix help lint warning
2008-12-06 03:47:17 -06:00
Slava Pestov
735e47fb55
Oops, off by 10
2008-12-06 01:36:25 -06:00
Slava Pestov
c41a0cf6a2
Add new words to tools.annotations to annotate words with timing code
2008-12-06 00:20:49 -06:00
Slava Pestov
b06cfc6225
Update ppc backend for recent string intrinsic changes
2008-12-06 00:12:07 -06:00
Slava Pestov
3673a3e7c7
Use stack effect literals instead of <effect> in PEG, and don't use smart combinators
2008-12-05 23:53:16 -06:00
Slava Pestov
6ee523f48f
Eliminate conditional branch from -fast variant of TR: map; 5% improvement on reverse-complement
2008-12-05 23:52:47 -06:00
Slava Pestov
82cf6530c6
set-string-nth-fast intrinsic was busted
2008-12-05 23:52:09 -06:00
Slava Pestov
044e2867d5
Teach compiler about string-nth range
2008-12-05 23:51:58 -06:00
Slava Pestov
f48653c47a
Fix compile error
2008-12-05 23:51:34 -06:00
Doug Coleman
2e31f7d792
fix help-lint errors
2008-12-05 12:57:36 -06:00
Doug Coleman
320f355541
fix load error
2008-12-05 11:39:24 -06:00
Doug Coleman
f126d0c0e6
fix compile error
2008-12-05 11:36:41 -06:00
Doug Coleman
29aeb707c1
fix load error
2008-12-05 11:35:10 -06:00
Slava Pestov
aa838dbc2d
Fix compile errors
2008-12-05 09:04:16 -06:00
Slava Pestov
0f8735554b
These errors don't exist anymore
2008-12-05 09:04:02 -06:00
Slava Pestov
5e0653ce6b
Fix USING:
2008-12-05 09:03:55 -06:00
Slava Pestov
8db24bdd34
assert-depth now has a static stack effect. This fixes a UI unit test failure
2008-12-05 08:25:26 -06:00
Slava Pestov
e256846acd
Tweak string representation; high bit indicates if character has high bits in aux vector. Avoids memory access in common case. Split set-string-nth into two primitives; set-string-nth-fast is open-coded by optimizing compiler. 13% improvement on reverse-complement
2008-12-05 06:38:51 -06:00
Slava Pestov
25bf16f6d4
Optimize mersenne-twister: eliminate conditional branches from inner loop, 30% speedup
2008-12-05 01:50:30 -06:00
Slava Pestov
6c7005d588
Tweak inlining heuristic
2008-12-05 01:50:14 -06:00
Slava Pestov
0e0e79eb7e
Redo how Cocoa event loop is done; fixes problem with expose, focus issue when closing windows
2008-12-05 01:49:46 -06:00