Abstract

SETL is a set-theoretically oriented language of very high level whose repertoire of semantic objects includes finite sets, ordered n-tuples, and sets of ordered n-tuples usable as mappings. This paper describes the structure of an optimizer for this language. Among other methods of interest, the optimizer uses techniques which allow relations of inclusion and membership to be established, the domains and ranges of (tabulated) mappings to be estimated from above and below, and the single-valuedness of (tabulated) mappings to be proved. Once facts of this kind have been established, automatic choice of data structures becomes possible. The methods employed are based upon, and extend, known techniques of data flow analysis.

Keywords

Computer scienceTupleUSableSet (abstract data type)Programming languageTheoretical computer scienceData structureAlgorithmDiscrete mathematicsMathematics

Affiliated Institutions

Related Publications

ON THE THEORY OF BAGS

Abstract We introduce the bag structure as a set-like object in which repeated elements are significant. We discuss operations on bags such as intersection, union and addition. ...

1986 International Journal of General Systems 705 citations

Publication Info

Year
1975
Type
article
Volume
18
Issue
12
Pages
722-728
Citations
57
Access
Closed

External Links

Social Impact

Social media, news, blog, policy document mentions

Citation Metrics

57
OpenAlex

Cite This

Jacob T. Schwartz (1975). Automatic data structure choice in a language of very high level. Communications of the ACM , 18 (12) , 722-728. https://doi.org/10.1145/361227.361235

Identifiers

DOI
10.1145/361227.361235