From 16278a6954370a062e08a061f79b3a46457d65e8 Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Tue, 28 Apr 2009 09:19:36 +0800 Subject: [PATCH] ENH: adding note on perf --- Code/IO/otbVectorDataKeywordlist.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Code/IO/otbVectorDataKeywordlist.cxx b/Code/IO/otbVectorDataKeywordlist.cxx index 8a89beda58..2e41cc11fd 100644 --- a/Code/IO/otbVectorDataKeywordlist.cxx +++ b/Code/IO/otbVectorDataKeywordlist.cxx @@ -44,6 +44,9 @@ void VectorDataKeywordlist:: FieldType newField; newField.first = fieldDefn; newField.second = *field; + //TODO: evaluate performance impact of fieldDefn copy + // the object itself could be handle at the VectorData level + // keeping only pointer here. m_FieldList.push_back(CopyOgrField(newField)); }; -- GitLab