Method public void ApplyScheme(IFeatureScheme scheme) is slow for files with many features. The reason is that the method is using linear search to find the index of the feature for every datarow for every feature category.
Fix is to use a dictionary of datarows as keys and their indices as values.
Attached is the fixed file.
Comments: Thanks for this fix. It was added in [changeset 31ae152fd8a2](https://dotspatial.codeplex.com/SourceControl/changeset/31ae152fd8a2591678ae93d8e342ab7bb10af6bc).
Fix is to use a dictionary of datarows as keys and their indices as values.
Attached is the fixed file.
Comments: Thanks for this fix. It was added in [changeset 31ae152fd8a2](https://dotspatial.codeplex.com/SourceControl/changeset/31ae152fd8a2591678ae93d8e342ab7bb10af6bc).