At this moment, the buildExpression() function is very large (potential code smell/bloat) and also it does not allocates the strings.Builder buffer capacity of the internal slice.
This affects testing (code smell) and also affects performance (unbuffered string.Builder).
How to
Separate in different small functions each case for LogicalOperators.
Calculate an approximate capacity for the strings.Builder internal buffer.
At this moment, the
buildExpression()
function is very large (potential code smell/bloat) and also it does not allocates thestrings.Builder
buffer capacity of the internal slice.This affects testing (code smell) and also affects performance (unbuffered string.Builder).
How to
Separate in different small functions each case for
LogicalOperators
.Calculate an approximate capacity for the
strings.Builder
internal buffer.