| | Second, you can compile VB code—the ASP engine always interprets code. Because the VB interpreter is highly efficient already, compiling an inefficient application won't usually provide a large increase in speed. Using the previous example, however, compiled with all optimizations selected, the byteConcat function executes five times as fast—in .03 seconds rather than .15 seconds. In contrast, the other functions execute in almost exactly the same amount of time whether you compile the application or run it in interpreted mode. I used this example because a great deal of Web application programming consists of merging data with HTML for presentation. Therefore, in certain situations, a compiled application can provide both better response and greater scalability. | | |