Commit eea991e
committed
refactor(vortex-geo): drop redundant all-true filter guards
ArrayRef::filter collapses an all-true mask back to the input (Filter's reduce
rule + optimize), so the if valid.all_true() guards in GeometryAabb::accumulate
and the execute helpers were redundant. Filter unconditionally; all-valid
inputs pass through unchanged.
Signed-off-by: Nemo Yu <zyu379@wisc.edu>1 parent 45f0a48 commit eea991e
2 files changed
Lines changed: 10 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
| 208 | + | |
208 | 209 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 210 | + | |
214 | 211 | | |
215 | 212 | | |
216 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
198 | 194 | | |
199 | 195 | | |
200 | 196 | | |
| |||
217 | 213 | | |
218 | 214 | | |
219 | 215 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
229 | 220 | | |
230 | 221 | | |
231 | 222 | | |
0 commit comments