Multiple assemblies - performance lost?

后端 未结 2 752
感情败类
感情败类 2021-01-21 11:12

I have a list of System.IO.Ports.SerialPort objects in one assembly, and I plan to handle the Data_Receieved event from another assembly.

I wonder if this m

2条回答
  •  迷失自我
    2021-01-21 12:10

    There should be no impact on performance once the assemblies are loaded.

    The only potential impact would be a (very slight) hit to load times. When the assemblies are loaded by the CLR, there is some work involved in loading each assembly. This is generally small enough that it's not noticable, however.

提交回复
热议问题