Slava Pestov
4051681417
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
1f12ac2c8c
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 14:47:06 -05:00
Slava Pestov
8dc3999115
struct-arrays: remove support for arrays of old-style structs
2009-09-01 14:46:24 -05:00
Joe Groff
e48cdd4a2f
fix help lint failures
2009-09-01 13:04:00 -05:00
Joe Groff
f84dc0074e
take advantage of pprint-prefix in c-object-pointer prettyprinters
2009-08-31 19:56:36 -05:00
Joe Groff
30b7b707a7
fix struct-arrays USING:
2009-08-31 18:04:29 -05:00
Joe Groff
100d636d6d
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 17:49:55 -05:00
Joe Groff
68542cb6b4
"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
82d43185cd
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 16:48:24 -05:00
Slava Pestov
8a2c894b15
Fix image size regression with struct array tree shaking
2009-08-31 16:34:58 -05:00
Slava Pestov
8a2321353b
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
0e160d3b6a
pprint S@, X-array@ in <block block> for better formatting
2009-08-30 21:12:02 -05:00
Joe Groff
8660f86172
struct-array@ syntax
2009-08-30 21:05:21 -05:00
Joe Groff
4c48b1a6fd
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 19:05:43 -05:00
Joe Groff
0c95a35d56
change c-type-* to c-* everywhere
2009-08-30 19:05:29 -05:00
Slava Pestov
b35a01879e
%box-displaced-alien: fix clobberage found by Doug
2009-08-30 05:11:08 -05:00
Slava Pestov
99bf9fadfb
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
d5bc08cdea
more inlines on struct-arrays to make the optimizing go down smoother
2009-08-26 19:56:22 -05:00
Joe Groff
8dbd25b6cd
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
48c47740c6
trying to memory>struct a non-struct class is feptastic
2009-08-26 19:09:38 -05:00
Joe Groff
5a3ee347aa
prettyprint struct-arrays
2009-08-26 18:22:51 -05:00
Joe Groff
f9d989b1ae
literal syntax for struct-arrays
2009-08-26 18:09:02 -05:00
Joe Groff
690c6b01bc
use struct class in struct-arrays test
2009-08-26 17:38:33 -05:00
Joe Groff
e9a0c96563
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
ea9aff148f
store struct class in struct-array
2009-08-26 13:13:19 -05:00
Slava Pestov
f7d3d66e9e
struct-arrays and struct-vectors: fix unit tests
2009-07-07 19:15:50 -05:00
Joe Groff
4b6136b4ca
Merge branch 'master' of git://factorcode.org/git/factor
2009-07-07 15:11:13 -05:00
Joe Groff
f8e9bc30e4
byte-length method for struct-arrays
2009-07-07 15:11:04 -05:00
Slava Pestov
7138943f98
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
ba04d5af1e
Update documentation for stricter vocabulary search path semantics
2009-05-16 00:29:21 -05:00
Slava Pestov
f75ef1fde7
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