> $ ./testb > Loop time for x++ > int32_t 2.429795 > int64_t 2.664763 > > Loop time for x *= 5 > int32_t 2.641352 > int64_t 4.079825
We're not storing our core units as doubles. We do a *lot* of "Px = Cx * m + b" type of operations; scalar multiplication is going to be a factor. We also do a *lot* of comparisons like "if (min < x && x < max)" For DRC we do a lot of sqrt(x*x+y*y) operations, but we can switch to doubles for that (and the optimizer and puller). _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user