• 0

[vb.net] Speed Question


Question

I have a question but I'm almost positive I know the answer.

I have a ton of procedures in a row. Now, when a user clicks a button, the procedures are initiated and executed. Before they do though, the the procedure that was called from the button, it checks to see if a setting is checked. If so, it continues. If not, it does the next procedure in the button call.

Now, I think that is very slow. Wouldn't it be much faster to check if the setting is checked BEFORE to procedure is executed?

Link to comment
https://www.neowin.net/forum/topic/283007-vbnet-speed-question/
Share on other sites

5 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

  • Recent Achievements

    • One Month Later
      Devesh Beri earned a badge
      One Month Later
    • Week One Done
      Harold57 earned a badge
      Week One Done
    • Rookie
      Brett76 went up a rank
      Rookie
    • One Month Later
      Brett76 earned a badge
      One Month Later
    • Apprentice
      Snake Doc went up a rank
      Apprentice
  • Popular Contributors

    1. 1
      +primortal
      588
    2. 2
      ATLien_0
      236
    3. 3
      Xenon
      149
    4. 4
      Michael Scrip
      139
    5. 5
      +FloatingFatMan
      119
  • Tell a friend

    Love Neowin? Tell a friend!