Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21273

Timing single vs double

$
0
0
I'm testing a function that loops about 10000 times and performs more or less complicated math operations.
It turns out that when all variables are sinlge it takes longer than if they are double.

Does that make any sense? I thought the more bits in a variable, the longer it would take to handle it.

Viewing all articles
Browse latest Browse all 21273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>