Commit Graph

271 Commits (9163e4e5524bd7fa42017fe69207ffcde4fb20e4)

Author SHA1 Message Date
Doug Coleman 1d12a6707d sigma -> map-sum 2009-10-29 14:34:04 -05:00
Joe Groff 3fbe722561 Merge branch 'master' of http://factorcode.org/git/factor
Conflicts:
	basis/locals/locals.factor
	basis/peg/peg.factor
	extra/infix/infix.factor
2009-10-28 16:17:24 -05:00
Joe Groff 6e1bffb1c5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Doug Coleman bd13e018dd memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Doug Coleman 1476cdb974 reverse-here -> reverse! 2009-10-28 14:40:15 -05:00
Joe Groff ef25935366 fix load errors from load-all 2009-10-28 13:56:15 -05:00
Slava Pestov 08e7d25dc5 change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00
Joe Groff 935c0797c3 update existing code for [let change 2009-10-27 22:05:37 -05: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 6022a0f5d9 fix benchmark.terrain-generation 2009-10-15 23:20:05 -05:00
Slava Pestov 0d970ff89d benchmark: update gc1 and add new gc3 benchmark 2009-10-14 04:59:48 -05:00
Doug Coleman 3ff8db48f6 speed up mt benchmarks considerably by doing less iterations 2009-10-07 18:48:23 -05:00
Doug Coleman 11be7d9ff6 add benchmark.mt for comparison to sfmt 2009-10-07 15:27:10 -05:00
Doug Coleman deabbb46b5 add a random.sfmt benchmark 2009-10-02 02:03:15 -05:00
Joe Groff a2771aa166 pit math.matrices and math.matrices.simd against each other in calculating matrix exponentials 2009-09-30 12:58:32 -05:00
Joe Groff 3c51312987 benchmarks for math.matrices and math.matrices.simd building and multiplying 3D matrices (vector versions are still slow because v? and vmask aren't intrinsic yet) 2009-09-30 11:51:44 -05:00
Slava Pestov 48d3f10c81 Fix some load errors in various places 2009-09-28 16:33:39 -05:00
Joe Groff 630e5ecc3b update vocabs so a load-all on macosx works without parsing c-type strings 2009-09-27 15:11:21 -05:00
Doug Coleman 90b06c55cd calculate factorial with decimals 2009-09-24 23:41:34 -05:00
Doug Coleman b85616fa61 move benchmarks from work to extra. wtf oops 2009-09-24 22:58:42 -05:00
Slava Pestov 1813896d14 benchmark.mandel: clean up the code a bit without changing performance
- use iota when iterating over integers
- clean up 'c' word
2009-09-24 02:51:43 -05:00
Slava Pestov 2406bdd6f7 benchmark.sockets: don't hang if an error occurs 2009-09-23 20:37:34 -05:00
Slava Pestov 4c10707df3 Fix benchmarks for SIMD: syntax change 2009-09-23 20:28:48 -05:00
Slava Pestov 47d8763340 More integer SIMD work
- move generated vocab support from specialized-arrays to vocabs.generated
- add fuzz testing to math.vectors.simd
- add alien type support for integer SIMD vectors
- SIMD: parsing word generates a SIMD type, instead of pre-generating them all in math.vectors.simd
2009-09-20 16:48:17 -05:00
Joe Groff 076ab42dc3 move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Slava Pestov 8d83824bb8 benchmark.spectral-norm: take out unsafe sequence access since it doesn't make it faster, and replace tuck/2bi* with bi-curry bi* 2009-09-16 16:13:55 -07:00
Slava Pestov e062cd34dd benchmark.simd-1, struct-arrays: reduce memory usage 2009-09-13 17:19:59 -05:00
Slava Pestov 0d4845de26 benchmark.gc1: reduce memory usage 2009-09-13 00:54:04 -05:00
Slava Pestov 78e5dfcc8b benchmark.euler186: remove this too 2009-09-12 12:58:36 -05:00
Slava Pestov 16144a5eda Load fixes 2009-09-10 21:41:12 -05:00
Slava Pestov cffa0c2b4f benchmark: rename (run-benchmark) to run-benchmark, and run-benchmark to record-benchmark, since (run-benchmark) was actually useful on its own 2009-09-10 18:32:45 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov 32ecb5d49b benchmark.nbody-simd: use map-reduce instead of reduce 2009-09-04 03:01:41 -05:00
Slava Pestov 85ae7f531b benchmark.nbody-simd: new benchmark; a version of benchmark.nbody that uses math.vectors.simd:double-4 instead of double-arrays 2009-09-03 20:59:49 -05:00
Slava Pestov c719b92363 benchmark.raytracer: replace hard-coded constant with self-documenting code 2009-09-03 02:24:32 -05:00
Slava Pestov f6da4856b4 benchmark.yuv-to-rgb: fix hints 2009-08-31 17:07:24 -05:00
Doug Coleman a9be2f2f08 update struct in yuv-to-rgb 2009-08-31 12:24:13 -05:00
Slava Pestov dca528eaef benchmark.terrain-generation: fix type error 2009-08-29 22:09:51 -05:00
Slava Pestov 9d61c162e2 benchmark.struct-arrays: doesn't actually need HINTS: 2009-08-29 21:23:35 -05:00
Joe Groff 4197891499 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-28 10:40:30 -05:00
Joe Groff c6c22a4d5d add a terrain-generation benchmark so slava will make it fast 2009-08-28 10:40:01 -05:00
Slava Pestov 624f636533 benchmark.struct-arrays: new benchmark to measure performance of struct-arrays, struct classes, and floating point math 2009-08-28 05:21:54 -05:00
Slava Pestov b71e14d89f benchmark.raytracer: eliminate -rot usage 2009-08-25 19:33:48 -05:00
Slava Pestov 5297be3e19 compiler.tree.modular-arithmetic: stronger optimization handles > 1 usages case as well as values defined and used in loops. Eliminates 5 out of 8 >fixnum calls in benchmark.yuv-to-rgb 2009-08-15 18:42:41 -05:00
Doug Coleman 6aa64a15dd forgot one 2009-08-14 14:40:44 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Doug Coleman 56b81a74ab add chameneos-redux benchmark 2009-08-12 17:46:10 -05:00
Doug Coleman 4a3d63e00a use if-zero in a few more places 2009-08-11 18:15:53 -05:00
Slava Pestov e9d5b364b3 benchmark.yuv-to-rgb: New benchmark, based on Chris Double's old ogg.player code 2009-08-10 01:17:07 -05:00
Slava Pestov 1cb0f3370b math.vectors.specialization: first attempt at some call site splitting for vector ops. Specialized array types generate customized variants of all vector words, if input types are known at compile time, a call to the specialized version is inserted 2009-08-09 03:07:33 -05:00