Skip to Main Content
VB.Net Web Developer's Guide
book

VB.Net Web Developer's Guide

by Syngress
September 2001
Intermediate to advanced content levelIntermediate to advanced
608 pages
23h 46m
English
Syngress
Content preview from VB.Net Web Developer's Guide
78 Chapter 2 • The Microsoft .NET Framework
Weak references can provide a workaround when you are dealing with
memory-intensive objects and avoid the cost of constantly recreating and reini-
tializing objects. Imagine an object that traverses a database and stores a set of
sorted fields. If the database is small enough, it can rest in memory without
problem. However, if the database is large, we run the risk of over loading our
resources every time we have to create a new one. Using a weak reference, we
can bypass having to create a new object and redoing the sort by keeping the
items we need on standby.You can then recreate the strong reference by pointing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

VB.NET Core Classes in a Nutshell

VB.NET Core Classes in a Nutshell

Budi Kurniawan, Ted Neward

Publisher Resources

ISBN: 9781928994480