bitshifter / mathbench-rs

Comparing performance of Rust math libraries for common 3D game and graphics tasks
Other
197 stars 16 forks source link

Make math libraries optional #12

Closed bitshifter closed 4 years ago

bitshifter commented 5 years ago

There are 4 libraries supported already and more to come. It might be good to support conditionally compiling support for each library so they can be excluded if someone is only interested in benchmarking one or two libraries.

bitshifter commented 4 years ago

Another motivation for this is to support libraries that want to use nightly without requiring mathbench to be nightly only.

bitshifter commented 4 years ago

Only non optional library is glam now. It would be tricky to make it not optional because it's used to generate random data for tests and benchmarks.