[VB6 ] double的效率比single高?
我一直以來好像誤會了@@"
我一直以為說,
資料型態所使用的位元組最多,效率越差...
但是我剛剛在網路上看到一分講義,
上面卻是寫說Double的執行效率是所有分數(更該是指以小數點的)
裡面最高的。
他是說因為目前平台上的處理器是以雙精度浮點數來執行浮點運算。
真的是這樣呀?@@
用single反而執行效率比較差這樣嗎?@@
--
"Every kid who has dreamed of being a baseball player has stood in his front
yard with a bat and said to himself, "Bottom of the ninth, Game 7 of the
World Series, the bases are loaded," and then envisioned hitting a home run
to win the game. My job is to shatter that dream."
By Huston Street
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.202.55.129
推
08/10 12:48, , 1F
08/10 12:48, 1F
→
08/10 12:49, , 2F
08/10 12:49, 2F
→
08/10 14:33, , 3F
08/10 14:33, 3F
→
08/10 14:33, , 4F
08/10 14:33, 4F
→
08/10 14:35, , 5F
08/10 14:35, 5F
推
08/11 04:35, , 6F
08/11 04:35, 6F