Specialization patterns

被引:6
|
作者
Schultz, UP [1 ]
Lawall, JL [1 ]
Consel, C [1 ]
机构
[1] Univ Rennes 1, INRIA, IRISA, Compose Grp, F-35042 Rennes, France
关键词
D O I
10.1109/ASE.2000.873664
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Design patterns offer many advantages for software development, but can introduce inefficiency into the final program. Program specialization can eliminate such overheads, but is most effective when targeted by the user to specific bottlenecks. Consequently, we propose that these concepts are complementary. Program specialization can optimize programs written using design patterns, and design patterns provide information about the program structure that can guide specialization Concretely, we propose specialization patterns, which describe how to apply program specialization to optimize rises of design patterns. In this paper, we analyze the specialization opportunities provided by specific uses of design patterns. Based on the analysis of each design pattern, we define the associated specialization pattern. These specialization opportunities can be declared using the specialization classes framework, developed previously. In our experiments, such specialization significantly improves performance.
引用
收藏
页码:197 / 206
页数:10
相关论文
共 50 条