Commit Graph

13 Commits (6a7ef7662fbc9ab7f11b1c95af81603924f2808a)

Author SHA1 Message Date
John Benediktsson 0fb0eaa1cf random: simplify using bitwise operations. 2014-02-25 15:59:51 -08:00
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 627295f094 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Slava Pestov 102af9badb specialized-arrays, specialized-vectors: fix potential problem if two vocabularies define different C types with the same name 2009-10-19 04:41:53 -05:00
Doug Coleman 26d8690ec2 fix cmwc on 32 bit factor 2009-10-17 00:09:01 -05:00
Doug Coleman 65a2419134 remove most of the overhead in cmwc, it's fast now 2009-10-16 16:08:59 -05:00
Doug Coleman 741f19ab2f remove yet another slow mutable local 2009-10-16 15:53:45 -05:00
Doug Coleman 748631ab35 inline some words 2009-10-16 15:50:33 -05:00
Doug Coleman 1375e32c62 make cmwc only 32 bits wide. oops, this speeds up everything 2009-10-16 15:19:30 -05:00
Doug Coleman 69f5381d34 ricing random.cmwc 2009-10-16 15:07:05 -05:00
Doug Coleman 8ad1bab8ad fix seed-random for cmwc 2009-10-07 20:25:00 -05:00
Doug Coleman 357bd0b3ec fix seed-random for cmwc 2009-10-07 20:21:09 -05:00
Doug Coleman 0fd2027900 add cmwc rng to extra 2009-10-07 20:06:39 -05:00