All Questions
Tagged with lazy-initialization memory-usage
2 questions
0
votes
1
answer
206
views
In what other locations besides infinite streams and infinite lists is memoized lazyness useful?
Haskell is one of the few non-strict languages out there.
In his paper Why Functional Programming Matters, John Hughes uses (memoized) lazy evaluation (as well as higher-order functions) to implement ...
0
votes
3
answers
1k
views
Extending the concept of Lazy Loading, to also unloading
A system that sometimes will need to use a pretrained machine learning model.
That model is about 10Gb on disk,
and when loaded uses about 10Gb of RAM.
Loading it from disk takes a nontrivial amount ...