otb merge requestshttps://gitlab.orfeo-toolbox.org/derksend/otb/-/merge_requests2019-08-13T08:55:10Zhttps://gitlab.orfeo-toolbox.org/derksend/otb/-/merge_requests/1Otb slic auto context2019-08-13T08:55:10ZArthur VincentOtb slic auto contexthttps://gitlab.orfeo-toolbox.org/derksend/otb/-/merge_requests/2Issue1989/reading vectors2019-11-06T12:18:17ZArthur VincentIssue1989/reading vectorsthis merge request refer to the issue : https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues/1989
Apparently this line is time consuming
[otbVectorPrediction.hxx#L89](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/blob/devel...this merge request refer to the issue : https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues/1989
Apparently this line is time consuming
[otbVectorPrediction.hxx#L89](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/blob/develop/Modules/Applications/AppClassification/include/otbVectorPrediction.hxx#L89)
The purpose of this MR is to precompute feature's index, like in [otbTrainVectorBase.hxx](https://gitlab.orfeo-toolbox.org/ArthurV/otb/blob/develop/Modules/Applications/AppClassification/include/otbTrainVectorBase.hxx#L253)
Tests seems to be OK.