Abstract
The demand driven evaluation technique described in the last chapter works best with functions that are space efficient. In general, space efficient functions are characterized by the fact that individual elements of the result can be computed independently of each other, and the actions involved in this computation depend only upon the indices of the elements being computed, not upon the value of those elements. Not all APL functions are space efficient; however, the majority (and more importantly, the most commonly used functions) do possess this property.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1988 Springer-Verlag New York, Inc.
About this chapter
Cite this chapter
Budd, T. (1988). Simple Space Efficient Functions. In: An APL Compiler. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-3806-5_4
Download citation
DOI: https://doi.org/10.1007/978-1-4612-3806-5_4
Publisher Name: Springer, New York, NY
Print ISBN: 978-0-387-96643-4
Online ISBN: 978-1-4612-3806-5
eBook Packages: Springer Book Archive