I have two .NET libraries: "Foo.Bar" and "Foo.Baz".
"Foo.Bar" is standalone, and "Foo.Baz" refers to "Foo.Bar".
Assuming I do the following:
- Use ILMerge to combine "Foo.Bar.dll" with "Foo.Baz.dll" into "Foo1.dll".
- Create a new solution containing the enthusiasm of both “Foo.Bar” and “Foo.Baz” (since I have access to their source code) and compile it into “Foo2.dll”.
Will there be any performance differences between Foo1.dll and Foo2.dll when using their functions from an external project? If so, how significant is this performance difference, and is it a one-time (at boot time) or current difference? Are there any other advantages or disadvantages to any approach?
Matthewking
source share