Specialization Patterns - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Research Report) Year : 1999

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.
Fichier principal
Vignette du fichier
RR-3853.pdf (315.66 Ko) Télécharger le fichier

Dates and versions

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

Identifiers

  • HAL Id : inria-00072803 , version 1

Cite

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

Share

Gmail Mastodon Facebook X LinkedIn More