Abstract
In some situations a parameter to a method or function may be costly to process or evaluate, but might only need to be processed or evaluated in certain situations. It is therefore useful to allow for lazy evaluation of such parameters. This results in an on demand evaluation model that may have significant performance or processing benefits.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Hunt, J. (2013). Lazy Parameters. In: Scala Design Patterns. Springer, Cham. https://doi.org/10.1007/978-3-319-02192-8_8
Download citation
DOI: https://doi.org/10.1007/978-3-319-02192-8_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-02191-1
Online ISBN: 978-3-319-02192-8
eBook Packages: Computer ScienceComputer Science (R0)