Slava Pestov
b8aa894960
struct-arrays: fix help lint, throw error if class parameter is not a struct class
2009-09-01 14:58:49 -05:00
Slava Pestov
3c4dc6d4de
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 14:47:06 -05:00
Slava Pestov
7bdd819d51
struct-arrays: remove support for arrays of old-style structs
2009-09-01 14:46:24 -05:00
Joe Groff
522f426ba7
fix help lint failures
2009-09-01 13:04:00 -05:00
Joe Groff
79be927371
take advantage of pprint-prefix in c-object-pointer prettyprinters
2009-08-31 19:56:36 -05:00
Joe Groff
f6c6593579
fix struct-arrays USING:
2009-08-31 18:04:29 -05:00
Joe Groff
0834b8270c
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 17:49:55 -05:00
Joe Groff
84adb4cb55
"struct-array-on" word to easily promote a struct over memory to a struct-array over the same memory. buff up the struct-arrays docs
2009-08-31 17:49:45 -05:00
Slava Pestov
8a1dbe1652
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 16:48:24 -05:00
Slava Pestov
23f34febbb
Fix image size regression with struct array tree shaking
2009-08-31 16:34:58 -05:00
Slava Pestov
2e119a0ae7
struct-arrays: hack it up so that if the class name is a literal parameter for the constructor, then the array works in deployed apps even if not every call site of nth or set-nth is inlined on the array. Fixes tools.deploy.test.5 regression after kqueue was converted to use STRUCT:. Because of Dan's call(-inlining, no perf regression on struct-arrays benchmark!
2009-08-31 05:42:28 -05:00
Joe Groff
e1e457c27e
pprint S@, X-array@ in <block block> for better formatting
2009-08-30 21:12:02 -05:00
Joe Groff
ab3ec291cd
struct-array@ syntax
2009-08-30 21:05:21 -05:00
Joe Groff
c9e83ba3c3
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 19:05:43 -05:00
Joe Groff
0df9884ee5
change c-type-* to c-* everywhere
2009-08-30 19:05:29 -05:00
Slava Pestov
9595be4bf9
%box-displaced-alien: fix clobberage found by Doug
2009-08-30 05:11:08 -05:00
Slava Pestov
d957ae4e44
Performance improvements to make struct-arrays benchmark faster
...
- improved optimization of ##unbox-any-c-ptr on ##box-displaced-alien; convert it to ##unbox-c-ptr where possible using class info stored in the ##bda instruction
- make fcos, fsin, etc inline again; everything in math.libm inline again, except for fsqrt which is an intrinsic
- convert min and max on floats to float-min and float-max
- make min and max not inline, so that the above can work
- struct-arrays: rice a bit so that more fixnums come up
2009-08-28 05:21:16 -05:00
Joe Groff
5376263984
more inlines on struct-arrays to make the optimizing go down smoother
2009-08-26 19:56:22 -05:00
Joe Groff
ad463795aa
fix struct-array of struct class; inline memory>struct so the compiler can optimize a little better
2009-08-26 19:20:20 -05:00
Joe Groff
9eb4ce2791
trying to memory>struct a non-struct class is feptastic
2009-08-26 19:09:38 -05:00
Joe Groff
49d123aa84
prettyprint struct-arrays
2009-08-26 18:22:51 -05:00
Joe Groff
2d66dc9f29
literal syntax for struct-arrays
2009-08-26 18:09:02 -05:00
Joe Groff
469e4b526f
use struct class in struct-arrays test
2009-08-26 17:38:33 -05:00
Joe Groff
24c2eaae01
box elements of struct-arrays when a struct class is used as the element type
2009-08-26 17:19:30 -05:00
Joe Groff
4a9f885ac9
store struct class in struct-array
2009-08-26 13:13:19 -05:00
Slava Pestov
76288ae55d
struct-arrays and struct-vectors: fix unit tests
2009-07-07 19:15:50 -05:00
Joe Groff
fbdcb61763
Merge branch 'master' of git://factorcode.org/git/factor
2009-07-07 15:11:13 -05:00
Joe Groff
01d344fb46
byte-length method for struct-arrays
2009-07-07 15:11:04 -05:00
Slava Pestov
dafdbe13c9
growable vocabulary: make 'contract' generic so that only real vectors clear popped elements; add resize method for struct-arrays, add new struct-vectors vocabulary
2009-07-07 15:01:30 -05:00
Slava Pestov
66a9416473
Update documentation for stricter vocabulary search path semantics
2009-05-16 00:29:21 -05:00
Slava Pestov
782cc78c14
windows.dinput.constants: fix deployment
2009-05-11 18:01:35 -05:00
Slava Pestov
d6aa376ed0
Removing now-redundant underlying>> calls
2009-02-06 04:37:28 -06:00
Slava Pestov
74df92d12d
Fix <direct-struct-array>
2008-12-18 21:17:24 -06:00
Slava Pestov
8956ee0cc5
Fix struct-arrays help lint
2008-12-03 12:06:16 -06:00
U-SLAVA-DFB8FF805\Slava
35df2fd480
Add test for malloc-struct-array
2008-12-03 09:54:59 -06:00
U-SLAVA-DFB8FF805\Slava
85c79bb41e
Fix malloc-struct-array
2008-12-03 09:54:02 -06:00
Slava Pestov
fdbf623bd4
Document struct arrays
2008-12-03 09:45:42 -06:00
Slava Pestov
c6f214f60d
Add struct-arrays
2008-12-03 09:41:48 -06:00