Skip to main navigation Skip to search Skip to main content

Generating incremental implementations of object-set queries

  • Stony Brook University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

19 Scopus citations

Abstract

High-level query constructs help greatly improve the clarity of programs and the productivity of programmers, and are being introduced to increasingly more languages. However, the use of highlevel queries in programming languages can come at a cost to program efficiency, because these queries are expensive and ma be computed repeatedly on slightly changed inputs. For efficient computation in practical applications, a powerful method is neede to incrementally maintain query results with respect to updates to query parameters.This paper describes a general and powerful method for automatically generating incremental implementations of high-level queries over objects and sets in object-oriented programs, where a query may contain arbitrary set enumerators, field selectors, and additional conditions. The method can handle any update to object fields and addition and removal of set elements, and generate coordinated maintenance code and invocation mechanisms to ensure that query results are computed correctly and efficiently. Our implementation and experimental results for example queries and updates confirm the effectiveness of the method.

Original languageEnglish
Title of host publicationGPCE'08
Subtitle of host publicationProceedings of the ACM SIGPLAN 7th International Conference on Generative Programming and Component Engineering
Pages55-65
Number of pages11
DOIs
StatePublished - 2008
EventACM SIGPLAN 7th International Conference on Generative Programming and Component Engineering, GPCE'08 - Nashville, TN, United States
Duration: Oct 19 2008Oct 23 2008

Publication series

NameGPCE'08: Proceedings of the ACM SIGPLAN 7th International Conference on Generative Programming and Component Engineering

Conference

ConferenceACM SIGPLAN 7th International Conference on Generative Programming and Component Engineering, GPCE'08
Country/TerritoryUnited States
CityNashville, TN
Period10/19/0810/23/08

Keywords

  • Automatic incrementalization
  • Program optimization
  • Query constructs

Fingerprint

Dive into the research topics of 'Generating incremental implementations of object-set queries'. Together they form a unique fingerprint.

Cite this