Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Speed testing
#14
Yeah...

Well I found that Select Case was faster than 2 If statements. It takes some time to open up, but that's where all the speed really takes place...

Select Case Whatever
Case 1
Case 2
End Select

Is faster than

If Whatever = 1 Then
If Whatever= 2 Then

But if you just used 1 case then it wouldn't be faster.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)