Skip to content
Snippets Groups Projects
Commit 16278a69 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: adding note on perf

parent 4cd30da1
Branches
Tags
No related merge requests found
...@@ -44,6 +44,9 @@ void VectorDataKeywordlist:: ...@@ -44,6 +44,9 @@ void VectorDataKeywordlist::
FieldType newField; FieldType newField;
newField.first = fieldDefn; newField.first = fieldDefn;
newField.second = *field; 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)); m_FieldList.push_back(CopyOgrField(newField));
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment