Only call str.size() at most once in findCommaOrEnd
Basic rule for clean code, performance wise it's probably only going to be noticeable (barely) in debug builds. For release builds the compiler should be able to hoist this out.
Please register or sign in to comment