Skip to Main content Skip to Navigation
New interface
Reports (Research report)

Specialization Patterns

Abstract : Design patterns offer numerous advantages for software development, but can introduce inefficiency into the finished program. Program specialization can eliminate such overheads, but is most effective when targeted by the user to specific bottlenecks. Consequently, we propose to consider program specialization and design patterns as complementary concepts. On the one hand, program specialization can optimize object-oriented programs written using design patterns. On the other hand, 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 uses 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 straightforwardly using the specialization classes framework, developed in earlier work. Our experiments show that such specialization leads to significant performance improvements.
Document type :
Reports (Research report)
Complete list of metadata
Contributor : Rapport De Recherche Inria Connect in order to contact the contributor
Submitted on : Wednesday, May 24, 2006 - 10:59:00 AM
Last modification on : Wednesday, October 26, 2022 - 8:16:25 AM
Long-term archiving on: : Sunday, April 4, 2010 - 8:52:45 PM


  • HAL Id : inria-00072803, version 1



Ulrik Pagh Schultz, Julia L. Lawall, Charles Consel. Specialization Patterns. [Research Report] RR-3853, INRIA. 1999. ⟨inria-00072803⟩



Record views


Files downloads