Specialization Patterns - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 1999

Specialization Patterns

Résumé

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.

Domaines

Autre [cs.OH]
Fichier principal
Vignette du fichier
RR-3853.pdf (315.66 Ko) Télécharger le fichier

Dates et versions

inria-00072803 , version 1 (24-05-2006)

Identifiants

  • HAL Id : inria-00072803 , version 1

Citer

Ulrik Pagh Schultz, Julia L. Lawall, Charles Consel. Specialization Patterns. [Research Report] RR-3853, INRIA. 1999. ⟨inria-00072803⟩
113 Consultations
360 Téléchargements

Partager

Gmail Facebook X LinkedIn More