Interesting, I was going to complain about the reintroduction of strings.TrimSpace in camel but decided to measure and it turns out it's ~5% faster than doing it manually!
So we're obviously in micro-optimization land here, but might as well keep it simple/consistent and trim spaces the same way in snake too.
Interesting, I was going to complain about the reintroduction of
strings.TrimSpace
in camel but decided to measure and it turns out it's ~5% faster than doing it manually!So we're obviously in micro-optimization land here, but might as well keep it simple/consistent and trim spaces the same way in snake too.