TY - GEN
T1 - Generating incremental implementations of object-set queries
AU - Rothamel, Tom
AU - Liu, Yanhong A.
PY - 2008
Y1 - 2008
N2 - 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.
AB - 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.
KW - Automatic incrementalization
KW - Program optimization
KW - Query constructs
UR - https://www.scopus.com/pages/publications/78650422587
U2 - 10.1145/1449913.1449923
DO - 10.1145/1449913.1449923
M3 - Conference contribution
AN - SCOPUS:78650422587
SN - 9781605582672
T3 - GPCE'08: Proceedings of the ACM SIGPLAN 7th International Conference on Generative Programming and Component Engineering
SP - 55
EP - 65
BT - GPCE'08
T2 - ACM SIGPLAN 7th International Conference on Generative Programming and Component Engineering, GPCE'08
Y2 - 19 October 2008 through 23 October 2008
ER -