6db149a2be
* Add -d:vmathArrayBased to go to array vectors (slow). * Add -d:vmathObjBased to go to object vectors (faster). * Add default or just add -d:vmathObjArrayBased to go to object-array vectors (fastest). Current speed test (using pixie, your results may vary): ``` nim c -r -d:release -d:vmathArrayBased .\tests\benchmark_svg.nim svg decode ........................ 31.543 ms 38.110 ms ±5.531 x1000 nim c -r -d:release -d:vmathObjBased .\tests\benchmark_svg.nim svg decode ........................ 25.620 ms 33.569 ms ±6.328 x1000 nim c -r -d:release .\tests\benchmark_svg.nim svg decode ........................ 25.746 ms 33.059 ms ±5.666 x1000 ``` |
||
---|---|---|
.. | ||
bench.nim | ||
bench_rep.nim | ||
config.nims | ||
test.nim |