In golang when copy a slice, if the slice is initialized with a desired length, then appending to it will cause the size double. Signed-off-by: bin liu <liubin0329@gmail.com>
18 KiB
18 KiB