# Change ProcessObject's default indexed DataObject Name

Bradley Lowekamp
2013-05-07
PERF: Change default index input output name's prefix to just &quot;_&quot;

Renamed default index i/os&apos; prefix from &quot;IndexedDataObject&quot; to just &quot;_&quot; followed by the index number.

There are two motivation for this: 1) The prior approach required each comparison done in the named map to compare 17 chars to get to the number, which is inefficient. 2) With the introduction on the global variable of these name, shortening the name reduces the ( by a small amount ) the foot print of the variable.

This change in name only effects the protected interface of the ProcessObject. A change would only need to be made to a writen filter if it mixed using index and named inputs or outpus to acces a single data object.

ProcessObject::GetInput("IndexedDataObject1"); ProcessObject::GetOutput("IndexedDataObject1");
ProcessObject::GetInput("_1") ProcessObject::GetOutput("_1")
Ifb9e2fb627f11e001f58090af88b71debb421c98
Modules/Core/Common/include/itkProcessObject.h Modules/Core/Common/src/itkProcessObject.cxx