|
|
1
4
这使得编译器在优化时具有更大的灵活性。 见 the help for the CompilationRelaxations enum 详情。 ---编辑--- 此时,有一个属性使用的枚举,只有1个选项:nostingInterning 从msdn帮助,此: Marks an assembly as not requiring string-literal interning. In an application domain, the common language runtime creates one string object for each unique string literal, rather than making multiple copies. This behavior, called string interning, internally requires building auxiliary tables that consume memory resources. 不过,该属性被指定为使用枚举,因此以后可以轻松地添加更多选项。不过,这是目前唯一允许通过此assembly属性进行的优化。 |