Alex Crichton 53c0dcf17a Don't offset the number of rayon workers by 1
If we pass rayon 0 workers it still spawns 1, so both 1 and 2 threads
were actually spawning one thread each. Let's remove the off-by-one so
1 and 2 cores should show a significant difference.
2019-10-01 18:10:18 -07:00
..
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-09-26 14:07:28 -05:00
2019-05-26 16:43:00 +09:00

Examples

This directory contains a number of Cargo projects that are all examples of how to use wasm-bindgen in various contexts. More documentation can be found online