Commit d4a093c
committed
Refactor: Simplify Enumerator Refinement
Why This Change Is Necessary
========================================================================
The [original PR][1] was submitted by @ronen and at the time I had not
looked into it sufficiently. It seems as though this code can be
greatly simplified by leveraging the fact that we are already refining
an `Enumerator` and therefore there is no need to wrap in another
`Enumerator`.
What These Changes Do To Address the Issue
========================================================================
Remove the wrapping `Enumerator`
Caveats
------------------------------------------------------------------------
I'd love to have @ronen take a look at this and see if anything jumps
out as being very wrong about this implementation.
Side Effects Caused By This Change
========================================================================
None expected.
------------------------------------------------------------------------
**Relevant URLs:**
* [Original PR Link][1]
------------------------------------------------------------------------
[1]: #1261 parent 767ee97 commit d4a093c
1 file changed
+6
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 8 | + | |
| 9 | + | |
15 | 10 | | |
16 | | - | |
| 11 | + | |
17 | 12 | | |
18 | | - | |
| 13 | + | |
| 14 | + | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
| |||
0 commit comments