28-11-2006, 07:03 AM
Your testing environment is pretty unrealistic, though. You're not going to be clearing 50000000 byte UDTs.
Using my speed template:
1 = Zero, 2 = Fill
1 = Fill, 2 = Zero
Specs:
The difference is hardly even noteable, though, like you said. Just nit-picking, though. :wink:
Using my speed template:
1 = Zero, 2 = Fill
Quote:%Faster -2.5| -3.7| -3.7| -3.7| -1.2| -2.5| -1.2| -1.2| -1.2| -1.2
Test1 79| 78| 78| 78| 79| 79| 79| 79| 79| 79
Test2 81| 81| 81| 81| 80| 81| 80| 80| 80| 80
1 = Fill, 2 = Zero
Quote:%Faster 1.3| 2.5| 2.5| 2.5| 1.3| 0| 2.5| 1.3| 2.5| 1.3
Test1 80| 81| 81| 81| 80| 80| 81| 80| 81| 80
Test2 79| 79| 79| 79| 79| 80| 79| 79| 79| 79
Specs:
Code:
Public t(0 To 999) As ByteCode:
ZeroMemory t(0), 1000Code:
FillMemory t(0), 1000, 0Code:
Private Const lngIterations As Long = 1000000The difference is hardly even noteable, though, like you said. Just nit-picking, though. :wink:
