-
-
Notifications
You must be signed in to change notification settings - Fork 519
Closed
Description
When generating a large query, performance drops significantly. Problem identified during research of Helper.cs (https://github.com/sqlkata/querybuilder/blob/master/QueryBuilder/Helper.cs) in the ‘ReplaceAll’ method on line 92 where string concatenation occurs.

Replacing it with the code below solves the problem.
.Aggregate(new StringBuilder(splitted.First()), (prev, right) => prev.Append(right))
Pull Request for this reason can be found at the link.
c54f509
ahmad-moussawi and Genmutant
Metadata
Metadata
Assignees
Labels
No labels