2 ms·
Does scala not have lazy vals anymore?
by seanmcdirmid 12y ago
Does scala not have lazy vals anymore?
- mafribe 12y agoSorry, I had forgotten about lazy vals. Thanks for reminding me. They are cached, so proper lazy [1], see e.g. https://stackoverflow.com/questions/3041253/whats-the-hidden-cost-of-scalas-lazy-val https://stackoverflow.com/questions/3041253/whats-the-hidden...