Commit Graph

24 Commits (69c28cd40ac04c2410b04f6c591ccdd6488a9f69)

Author SHA1 Message Date
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 8dc3999115 struct-arrays: remove support for arrays of old-style structs 2009-09-01 14:46:24 -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 8660f86172 struct-array@ syntax 2009-08-30 21:05:21 -05:00
Joe Groff 0c95a35d56 change c-type-* to c-* everywhere 2009-08-30 19:05:29 -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 f9d989b1ae literal syntax for struct-arrays 2009-08-26 18:09:02 -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
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 f75ef1fde7 windows.dinput.constants: fix deployment 2009-05-11 18:01:35 -05:00
Slava Pestov 74df92d12d Fix <direct-struct-array> 2008-12-18 21:17:24 -06:00
U-SLAVA-DFB8FF805\Slava 85c79bb41e Fix malloc-struct-array 2008-12-03 09:54:02 -06:00
Slava Pestov c6f214f60d Add struct-arrays 2008-12-03 09:41:48 -06:00