Calling ApplyExpressions is much slower than sf.Categories.ApplyExpression()

Description

Mentioned in https://mapwingis.codeplex.com/discussions/651078

I changed the code so that rather than call "ApplyExpressions" after I have added all the categories, I call, "sf.Categories.ApplyExpression(sf.Categories.Count -1)" in each iteration of the loop. This is many, many times faster, I didn't really expect it to be though.

I wonder if "ParseNeeded" was possibly being set to true erroneously and causing delays.

Environment

None

Assignee

Jerry Faust

Reporter

Paul Meems

Labels

Fix versions

Affects versions

Priority

Medium
Configure