Conditions for Efficiency Improvement by Tree Transducer Composition

  • Authors:
  • Janis Voigtländer

  • Affiliations:
  • -

  • Venue:
  • RTA '02 Proceedings of the 13th International Conference on Rewriting Techniques and Applications
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

We study the question of efficiency improvement or deterioration for a semantic-preserving program transformation technique based on macro tree transducer composition. By annotating functional programs to reflect the internal property "computation time" explicitly in the computed output, and by manipulating such annotations, we formally prove syntactic conditions under which the composed program is guaranteed to be more efficient than the original program, with respect to call-by-need reduction to normal form. The developed criteria can be checked automatically, and thus are suitable for integration into an optimizing functional compiler.