8 Commits

Author SHA1 Message Date
dcodeIO
e049e72171 Fix a few issues with TSD generation; Update Binaryen 2018-05-21 10:31:00 +02:00
Max Graey
061976ee0c Add rust n-body version for comparison (#88) 2018-05-03 02:12:03 +02:00
dcodeIO
8b5d1d7f74 Minor refactoring; Fix n-body TS build 2018-04-28 18:07:20 +02:00
dcodeIO
6d6d1dddcf Improve inlining where locals can be aliased; Add a crude mechanism for explicit unchecked array accesses
The `unchecked` builtin should be handled with ultimate care and it would be a lot better if there'd be a mechanism doing this automatically.
2018-04-25 05:04:35 +02:00
dcodeIO
63aa648ace Slim down indexed access as far as currently possible
Interestingly, the same code written as statements is significantly slower. See notes.
2018-04-23 23:57:15 +02:00
dcodeIO
88b00c1689 Use the element type annotated on the setter when doing indexed sets 2018-04-23 16:17:33 +02:00
dcodeIO
78a3dcfaf0 Compare n-body to asmjs and js 2018-04-23 15:04:04 +02:00
dcodeIO
80d104201c Add ol' N-body benchmark to examples fwiw 2018-04-23 02:43:03 +02:00