|
-
May 7th, 2002, 06:14 PM
#1
Thread Starter
Addicted Member
Object performance vs Caching
With the new object oriented drive in .NET, how big of a performance hit do you think it is when you access the methods of simple objects?
For example
Color.ToArgb
Point.X
Point.Y
How about arrays? Is it slower to access a variable in an array than to access a non array variable?
myArray(2) vs myVariable
Where do you draw the line when it to comes to caching local variables?
Any thoughts on the matter are welcome.
That which does not kill us, only makes us stronger. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|