Lepper, M; Trancón y Widemann, B: Optimization of Visitor Performance by Reflection-Based Analysis, Lecture Notes in Computer Science, 6707, 15-30 (2011), doi:10.1007/978-3-642-21732-6_2
Abstract:
Visitors are a well-known and powerful design pattern for processing regular data structures and for combining declarative and imperative coding styles. The authors’ umod model generator creates Java data models from a concise and algebraic notation. It is primarily used to model intermediate representations of computer languages. The user defines visitor code by extending skeleton classes, which are generated according to traversal annotations in the model. Since the generated code on its own executes the pure traversal and no semantic side-effects, traversals are redundant unless some user-overridden method is eventually invoked. We present a reflection-based control flow analysis to detect this situation and prune the traversal transparently. With a well-stratified model, this may lead to substantial increase in performance.
Upcoming ...

BayCEER Short Courses:
Fr. 2024-04-26 now
Mobile Film Making Workshop (for students of BayCEER)
Ecological-Botanical Garden:
Fr. 2024-04-26 now
Aktion | Kräuterreich & regional: Backkunst im ÖBG (zus. mit HWK)
Fr. 2024-04-26 now
Führung | Erdbeer-Minze und Zimmerknoblauch: Gewürzkräuter
Su. 2024-04-28
Führung | Den Sängern auf der Spur: Vogelstimmen im ÖBG (zus. mit LBV)
Su. 2024-05-05
Führung | Faszination Englische Gärten: Gestaltung und Pflanzen
Weather research site
Luftdruck (356m): 962.4 hPa
Lufttemperatur: 12.2 °C
Niederschlag: 0.0 mm/24h
Sonnenschein: 3 h/d

...more
Lufttemperatur: 8.5 °C
Niederschlag: 0.0 mm/24h

...more
This site makes use of cookies More information