[wayne@cs.toronto.edu: Cygwin-1.5.5 sscanf on floats: 20 times slower than 2 years ago]
Wayne Hayes
wayne@cs.toronto.edu
Tue Nov 18 00:34:00 GMT 2003
>Since scanf and the floating point arithmetic is implemented in newlib,
>I've redirected this message there. Does anybody have an idea, what
>could slow down float scanning in sscanf by a factor of 20?
Thanks! Just to be pedentic, I realized that it's worse than a factor of 20.
My *entire simulation* slows down by a factor of 20; there's significant
other computation in it. So the scanf slowdown is probably closer to
hundreds of times. *Something* fishy must be going on. :-)
More information about the Newlib
mailing list