Commit 4be530e
committed
STYLE: Avoid multiple GetIndex() calls in ContourExtractor2DImageFilter
Avoided calling `inputIt.GetIndex()` repetitively during one and the same
iteration. This is just a style improvement, as it is not a major performance
improvement. (`inputIt.GetIndex()` is likely to be very fast.)1 parent 2e75b53 commit 4be530e
File tree
1 file changed
+5
-4
lines changed- Modules/Filtering/Path/include
1 file changed
+5
-4
lines changedLines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| 356 | + | |
356 | 357 | | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
361 | 362 | | |
362 | 363 | | |
363 | 364 | | |
| |||
0 commit comments