I was trying to find out what is faster: to access constant or use it directly. I used the following code + Profiler:
Profiler indicated that this function is doing 99.85% of the work, but the following information is confusing:
![]()
8.9 + 17.6 = 26.5%, where the rest 73.5% goes?
Code:
Dim i As Double, l As Double, l2 As Double
For i = 1 To 3000000000
l = UInt32.MaxValue
l2 = 4294967295
Next

8.9 + 17.6 = 26.5%, where the rest 73.5% goes?