I was reading the article "Performance Optimization in Visual Basic
..NET" at
http://msdn.microsoft.com/library/de...tchperfopt.asp.
One section states:
Loading a dynamic-link library (DLL) takes a considerable amount of
execution time. Bringing in a DLL only to call one or two procedures is
highly inefficient. You should try to generate the smallest possible
number of DLLs, even if this makes them relatively large. This means
your application should use as few projects as possible and large
solutions.
When I need to reference some code in multiple projects (e.g. a data
access class), I have been building it into a DLL and referencing the
DLL in my other projects. Does this mean that I should instead add a
reference to the data access layer PROJECT in my solution, rather than
a reference to the DLL that it produces?
When you have multiple projects in a solution, and references between
them, doesn't the compiler build them all into their own DLL anyway?
I guess I'm not sure what they mean and am looking for help. Thanks.