MantisBT - ITK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0005646 | ITK | public | 2007-09-03 09:29 | 2007-09-16 17:00 | |
| Reporter | Dieter Hahn | ||||
| Assigned To | Luis Ibanez | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Resolution Date | |||||
| Sprint | |||||
| Sprint Status | |||||
| Summary | 0005646: ImageRegionConstIteratorWithIndex redundant arithmetic operation | ||||
| Description | Hi, within the -- operator, there is a redundant arithmetic call that should be deleted, as the iterator operations have to be as efficient as possible. See the else part of the decrement code: >> this->m_PositionIndex[ in ]--; << // this is redundant! as it is set below this->m_Position += this->m_OffsetTable[ in ] * ( static_cast<long>(this->m_Region.GetSize()[in])-1 ); this->m_PositionIndex[ in ] = this->m_EndIndex[ in ] - 1; Thanks, Dieter | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2007-09-03 09:29 | Dieter Hahn | New Issue | |||
| 2007-09-16 12:46 | Luis Ibanez | Status | new => assigned | ||
| 2007-09-16 12:46 | Luis Ibanez | Assigned To | => Luis Ibanez | ||
| 2007-09-16 12:49 | Luis Ibanez | Note Added: 0009005 | |||
| 2007-09-16 12:49 | Luis Ibanez | Status | assigned => acknowledged | ||
| 2007-09-16 16:59 | Luis Ibanez | Note Added: 0009007 | |||
| 2007-09-16 17:00 | Luis Ibanez | Status | acknowledged => closed | ||
| 2007-09-16 17:00 | Luis Ibanez | Note Added: 0009008 | |||
| 2007-09-16 17:00 | Luis Ibanez | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||