You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The left trim, right trim and left+right trim operations are used for indentation purposes. Thus, rather than dumbly improving StringUtils, I'm thinking on a specific method which trims and idents at the same time.
π What did you see?
In the
Parser.parse()
method, 30% to 50% of the elapse time is passed doingString
trimming in theStringUtils
class, see #351 (comment)β What did you expect to see?
No doubt
String
trimming is important, but it should not last that long.π¦ Which tool/library version are you using?
OpenJDK21
gherkin 31.0.0 (the main branch)
π¬ How could we reproduce it?
See JMH benchmark code in #351 (comment)
π Any additional context?
Identified for #351
The text was updated successfully, but these errors were encountered: