Click here to Skip to main content
15,889,890 members
Articles / General Programming / Performance

How Utilizing Lazy Evaluation and Caching can Save Us from Wasteful Computation

Rate me:
Please Sign up or sign in to vote.
4.47/5 (5 votes)
30 May 2022CPOL4 min read 5.5K   1  
This article shows how utilizing lazy evaluation and caching can save us from wasteful computation
On the example of leetcode task, we'll see how instead of a naive solution, we can utilize more elegant lazy evaluation.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader
Ukraine Ukraine
Team leader with 8 years of experience in the industry. Applying interest to a various range of topics such as .NET, Go, Typescript and software architecture.

Comments and Discussions