Calling Move causes one movement. Plus, the Width and Height arguments to Move are now optional, so it isn't necessary to retrieve the current width and height to use Move . In Figure 5, I displayed the Time column in the TrueTime source code view, which shows the average execution time of each line of code and any child functions it calls. I also set the scale to milliseconds. As you can see, Move is 66 percent faster than modifying the Left and Top properties individually.
Variants make a lot of sense in an interpreted scripting language.
Visual Basic automatically performs any necessary conversions between the actual type of the data and the type of data needed to perform a function. That conversion takes time. Variants don't, however, so Visual Basic must call functions in its run-time library to manipulate variants, further slowing down their use. Finally, variants are big, each taking up 16 bytes of memory, twice the memory of a Double variable. The For loop also takes longer to initialize.