Skip to content

Commit

Permalink
Disable performance-inefficient-string-concatenation
Browse files Browse the repository at this point in the history
Although it probably increases the performance, the fix has horrible syntax.
Either you write a lot += on multiple lines, or you chain .append(). Chaining
append is however a bit bothersome, because you need create an explicit copy for
the first string.
  • Loading branch information
syyyr committed Nov 25, 2024
1 parent 29d75ff commit 71a1e86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Checks:
- -modernize-use-trailing-return-type
- -modernize-use-using
- -performance-enum-size
- -performance-inefficient-string-concatenation
- -readability-avoid-const-params-in-decls
- -readability-avoid-nested-conditional-operator
- -readability-braces-around-statements
Expand Down

0 comments on commit 71a1e86

Please sign in to comment.