Accessing Object Properties
Written by Eric Smith, Northstar Computer Systems LLC
If you’re using properties of objects, such as recordsets or any of the ASP objects, be sure to store the value in a variable if you’re using it multiple times. It is much faster to access a local variable than it is to read the property of an object. It has to do with how the object is stored in memory. As a rule of thumb, if I’m using a property more than once, I create a variable for it.
Keywords: [
Uncategorized ASP Tips
]
Publication Date: 2/1/2000, Last Update: 2/11/2010
|