System.Interactive: Difference between Memoize() and MemoizeAll()?
- by Joel Mueller
In System.Interactive.dll (v1.0.2521.0) from Reactive Extensions, EnumerableEx has both a Memoize method and a MemoizeAll method. The API documentation is identical for both of them:
Creates an enumerable that enumerates the original enumerable only once and caches its results.
However, these methods are clearly not identical. If I use…