Tuesday, July 13, 2004

VJs Tip Of The Day - July 13th 2004

Lazy Initialization

Lazy Initialization is an optimizing technique whereby some of a class's members are not initalized until they are needed...
This is in particular useful when you have class that contains members that are not used often and whose initalization might consume a lot of resources... Some examples would be accessing File System or network objects or databases...

Well you would be doing this already, now you know the technical term for it... :-)

No comments: