lazarus/lz-string-go

Performance of string + string in func DecompressFromBase64 is too bad, and strings.Builder{} or bytes.Buffer{} is better.

llj1990 opened this issue · 3 comments

Performance of string + string in func DecompressFromBase64 is too bad, and strings.Builder{} or bytes.Buffer{} is better.

i think here are some big problems with performance,it will cause performance problems when using long strings
image
image

Is there a fix or was it just closed?

Is there a fix or was it just closed?

Fixed in #6