Commit ce7250f
authored
Use List for Memoize's cache (performance)
Indexing into an IList<> requires an interface call, and can't be
inlined. Since the cache field is private, there is no reason to
not type it instead as List<>, thus get a free performance gain at
no cost.
Closes morelinq#5461 parent f019748 commit ce7250f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments