J
Jeff
Hi-
I am developing a WinForms app with the dotnet 2.0 framework that
manipulates GPS data. Some of the algoritms are pretty math intensive,
with Sin, Cos, Log, etc.
I originally developed the app using the type "double" for all my data
points, but as an experiment, I changed the types to "decimal" and was
surprised to see that the performance improved. Is this expected?
FYI, I am running this app on a Turion ML-34 (1.8Ghz 1MB cache), so my
fp unit should be pretty good.
Are there any good resources on tweaking floating point performance in
dotnet? I was very surprised to see decimal out perform double, so I'm
wondering if I'm missing something else. For example, what about
exetended floating point types? I imagine that this may be even faster
since it would use the SSE unit of the chip.
Any input is appreciated.
-jeff
I am developing a WinForms app with the dotnet 2.0 framework that
manipulates GPS data. Some of the algoritms are pretty math intensive,
with Sin, Cos, Log, etc.
I originally developed the app using the type "double" for all my data
points, but as an experiment, I changed the types to "decimal" and was
surprised to see that the performance improved. Is this expected?
FYI, I am running this app on a Turion ML-34 (1.8Ghz 1MB cache), so my
fp unit should be pretty good.
Are there any good resources on tweaking floating point performance in
dotnet? I was very surprised to see decimal out perform double, so I'm
wondering if I'm missing something else. For example, what about
exetended floating point types? I imagine that this may be even faster
since it would use the SSE unit of the chip.
Any input is appreciated.
-jeff