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.
Type de document :
[Research Report] RR-3853, INRIA. 1999
Liste complète des métadonnées

Contributeur : Rapport de Recherche Inria <>
Soumis le : mercredi 24 mai 2006 - 10:59:00
Dernière modification le : mercredi 29 novembre 2017 - 16:24:54
Document(s) archivé(s) le : dimanche 4 avril 2010 - 20:52:45



  • HAL Id : inria-00072803, version 1



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



Consultations de la notice


Téléchargements de fichiers