lazarus / lz-string-go

Port of the javascript LZString compression/decompression algorithm in Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

llj1990 opened this issue · comments

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

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

commented

Is there a fix or was it just closed?

Is there a fix or was it just closed?

Fixed in #6