新优化方式包罗类型特殊化(Type specialization),内联函数,线性扫描寄放器分派算法,有效代码删除,轮回稳定量挪动等。
基于130个网页-相关网页
特殊类型的文化人造物 cultural artifacts
这很简单,数据类型的特殊化有助于您实现此目标。
That was simple; a specialization for the array type helped you get there.
答案取决于这样的事实,您常常需要创建泛型库,以及对于某些具体类型,您希望避免泛型行为和拥有特殊化的实现。
The answer lies in the fact that you often need to create generic libraries, and for some specific types, you want to avoid the generic behavior and have a specialized implementation.
应用推荐