Commit Graph

14 Commits (81a84266d39abdee8516cbf16453409e9090ed3c)

Author SHA1 Message Date
John Benediktsson 4f42c72012 specialized-arrays: performed some cleanup.
Specifically,
    •   Created >c-array to be replacement for >T-array.
    •   Created cast-array to be generic replacement for all T-array-cast words.
    •   Created c-array@ to be generic replacement for T-array@ words.
    •   Replaced usages of <T-array> with T <c-array>
    •   Replaced usages of <direct-T-array> with T <c-direct-array>
    •   Replaced usages of >T-array with T >c-array
    •   Replaced usages of T-array-cast with T cast-array
    •   Replaced usages of malloc-T-array with T malloc-array.
    •   Removed malloc-T-array.
    •   Removed T-array-cast.
    •   Removed T-array@.
    •   Removed >T-array.

I also added (but didn't change any code to use):
    •   T c-array-type, returns T-array
    •   T c-array?, returns T-array?
    •   c-array{ T ... }, returns T-array{ ... }

Bootstraps just find on Mac OS X.  Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Slava Pestov a8098e3182 specialized-arrays: rename byte-array>T-array to T-array-cast, and make it work with anything that responds to >c-ptr / byte-length 2010-05-18 23:09:34 -04:00
Slava Pestov a93831a36e noise: update for iota 2010-01-15 07:15:33 +13:00
Joe Groff ac5d3d5652 remove SIMDS: 2009-11-26 11:15:46 -08:00
Joe Groff c3b8847936 update a bunch of alien-callbacks and alien-indirects to use c-type words 2009-10-21 21:10:11 -05:00
Joe Groff 2f8fec9a43 use unsigned<->signed unpacking for normal-noise because SSE doesn't have an unsigned->unsigned pack instruction 2009-10-16 22:03:55 -05:00
Joe Groff 184b32cc51 use a better algorithm to generate uniform/normal noise 2009-10-16 14:35:57 -05:00
Joe Groff 7142139cf7 improve noise/terrain performance 2009-10-15 22:37:31 -05:00
Slava Pestov c9113c03cf noise: don't use math.private words 2009-09-01 15:50:56 -05:00
Joe Groff ac3ec67c6a separate component format from component order in image objects 2009-06-22 11:20:54 -05:00
Doug Coleman b8b0e11492 remove use of image boa from noise 2009-06-10 16:05:17 -04:00
Joe Groff d90bb0f336 cut perlin-noise time in half 2009-05-10 10:41:50 -05:00
Joe Groff a8231893ec un-private some useful words 2009-05-07 19:46:42 -05:00
Joe Groff 215d21c2bd rename perlin-noise to noise; add words for uniform and normal noise 2009-05-06 15:49:29 -05:00