• Title of article

    Analysis of imperative XML programs

  • Author/Authors

    Christoph Reichenbach، نويسنده , , Michael G. Burke، نويسنده , , Igor Peshansky، نويسنده , , Mukund Raghavachari، نويسنده ,

  • Issue Information
    روزنامه با شماره پیاپی سال 2009
  • Pages
    19
  • From page
    624
  • To page
    642
  • Abstract
    The widespread adoption of XML has led to programming languages that support XML as a first class construct. In this paper, we present a method for analyzing and optimizing imperative XML processing programs. In particular, we present a program analysis, based on a flow-sensitive type system, for detecting both redundant computations and redundant traversals in such programs. The analysis handles imperative loops that traverse XML values explicitly and declarative queries over XML data in a uniform framework. We describe two optimizations that take advantage of our analysis: one merges queries that traverse the same set of XML nodes, and the other replaces an XPath expression by a previously computed result. We demonstrate performance improvements for selected XMark benchmark queries and XLinq sample queries.
  • Keywords
    Imperative programming , XML , Program analysis
  • Journal title
    Information Systems
  • Serial Year
    2009
  • Journal title
    Information Systems
  • Record number

    1230110