quwiltw
Well-known member
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcn7/html/vaconUsingWith.asp
This link and a "Practical Standards" book Ive got both say that using With... End With makes code faster/more efficient. Anyone got any idea why? Of course, they implemented it so I believe them, Id just like to know why. It seems to me that a compiler would easily be able to recognize this and optimize just the same with direct property access.
This link and a "Practical Standards" book Ive got both say that using With... End With makes code faster/more efficient. Anyone got any idea why? Of course, they implemented it so I believe them, Id just like to know why. It seems to me that a compiler would easily be able to recognize this and optimize just the same with direct property access.