Closed johnmccutchan closed 10 years ago
Looks like there's some conflicts - did you pull the latest?
I thought I already had everything 1.0 compatible...
My bad, I was working on a stale checkout. Should be good now.
does the 64-bit version add the speedup to 32-bit machines as well?
if so, why not just have the 64-bit version?
The 64 is in reference to Float64List. It will result in a speedup on both 32-bit and 64-bit machines.
The reason vector_math has both is that WebGL only accepts Float32Lists.
sounds good. so if someone wants to use webgl and box2d, they're going to have to translate the vector types between the two? so they'd be dependent on both versions.. will that work?
Of course. Dart supports loading libraries with prefixes to avoid class name conflicts.
and the cost of translating from Float64List to Float32List is an expense that we just have to take, but is presumably less than the constant single/double conversion happening right now. ok :)
Require vector_math 1.4.2 Fix benchmark_runner to be compatible with Dart 1.0 Switch from vector_math to vector_math_64 (gives speedup).