Commit 28c1af0
committed
Use store loop for sampling extent count
Copilot flagged that SeriesData.each still adds callback binding overhead in the visible-window count path. This keeps the existing scale containment semantics but reads parsed values through the underlying DataStore with a precomputed dimension index.
Constraint: direct min/max checks from scale.getExtent did not preserve the filterMode none regression case
Confidence: high
Scope-risk: narrow
Tested: npm run checktype -- --pretty false
Tested: npm run lint -- --quiet src/processor/dataSample.ts
Tested: git diff --check -- src/processor/dataSample.ts
Tested: test/line-sampling-dataZoom-filterMode.html via Chrome, PASS with store-loop count
Not-tested: Full visual regression suite1 parent 8d34ed8 commit 28c1af0
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
84 | | - | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
0 commit comments