3 ms·
Makes sense, I was thinking this is largely recreating L2 caches and such. Where you don't mind that they would memoize the same data, but the expectation is m
by taeric 2y ago
Makes sense, I was thinking this is largely recreating L2 caches and such. Where you don't mind that they would memoize the same data, but the expectation is more that each caller would have a small subset they are specifically using over and over.
- lupire 2y agoIf you knew the answer, why did you ask the question?
- saghm 2y agoSometimes it's nice to abstract a place where you need the answer from the way you determine the answer; that's basically why functions exist in the first place! Later on, if you decide that you want to tweak the way the implementation works, you don't need to do it literally everywhere.
- taeric 2y agoI thought of an answer after asking. Still curious if there are others.
- kragen 2y agoso am i! fuck you, lupire