Commit Graph

1945 Commits (11c138ae95c7ffef8bfdd40beb0897723ff9b499)

Author SHA1 Message Date
Slava Pestov 11c138ae95 alien.strings doesn't load utf16 on Unix anymore 2008-12-08 18:49:02 -06:00
Slava Pestov ac653d5c31 Core foundation now uses UTF8 instead of UTF16, to eliminate unnecessary dependency 2008-12-08 18:48:49 -06:00
Slava Pestov 403ae9db9e Fix load error in unix.debugger 2008-12-08 18:48:35 -06:00
Slava Pestov 7940020491 Untangling more dependencies 2008-12-08 16:02:31 -06:00
Slava Pestov ba6f63ff56 calendar.format now depends on present instead of the other way around 2008-12-08 16:02:10 -06:00
Slava Pestov 6edb771d05 Re-arrange some code so that core-foundation.run-loop no longer depends on calendar 2008-12-08 16:01:11 -06:00
Slava Pestov f6d45158bb Fix locals conflict 2008-12-08 15:28:27 -06:00
Slava Pestov 4f0a9f311e Untangling some dependencies 2008-12-08 14:58:00 -06:00
Slava Pestov f8bce98850 Remove unnecessary prettyprinter and debugger dependencies from UI 2008-12-08 13:58:57 -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 7771a3e511 :> word work in progress, split up llocals 2008-12-06 04:57:38 -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