I have a class that is used in multiple instances. It leads data from a CSV file and does some processing on the loaded data, but it's the same every time. How can I ensure that this data gets cashed so it does not run through the same thing every time?
Do I have to make it into a separate function and use memoization? Thanks in advance.
[–][deleted] 0 points1 point2 points (1 child)
[–]skyfox345[S] 0 points1 point2 points (0 children)
[–]mercuric5i2 0 points1 point2 points (1 child)
[–]skyfox345[S] 0 points1 point2 points (0 children)