devxlogo

Dispelling Performance Myths

Dispelling Performance Myths

  • Omitting the counter from a Next statement does not speed up a For loop.
  • Calling a procedure in a BAS module is not slower than calling a procedure contained in the same FRM module. The only exception is the first call to any procedure in a BAS module because VB loads BAS modules on first reference.
  • Because VB is interpreted, the overhead of interpretation far outweighs the time it takes to execute the actual code that does the work. Wrong. References to control properties, for example, can be two to three orders of magnitude slower than references to simple variables.
  • devxblackblue

    About Our Editorial Process

    At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

    See our full editorial policy.

    About Our Journalist