TreeToaster: Towards an IVM-Optimized Compiler

2Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.

Abstract

A compiler's optimizer operates over abstract syntax trees (ASTs), continuously applying rewrite rules to replace subtrees of the AST with more efficient ones. Especially on large source repositories, even simply finding opportunities for a rewrite can be expensive, as optimizer traverses the AST naively. In this paper, we leverage the need to repeatedly find rewrites, and explore options for making the search faster through indexing and incremental view maintenance (IVM). Concretely, we consider bolt-on approaches that make use of embedded IVM systems like DBToaster, as well as two new approaches: Label-indexing and TreeToaster, an AST-specialized form of IVM. We integrate these approaches into an existing just-in-time data structure compiler and show experimentally that TreeToaster can significantly improve performance with minimal memory overheads.

Cite

CITATION STYLE

APA

Balakrishnan, D., Nuessle, C., Kennedy, O., & Ziarek, L. (2021). TreeToaster: Towards an IVM-Optimized Compiler. In Proceedings of the ACM SIGMOD International Conference on Management of Data (pp. 155–167). Association for Computing Machinery. https://doi.org/10.1145/3448016.3459244

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free