mirror of
https://github.com/samber/lo.git
synced 2026-04-22 15:37:14 +08:00
1f669cbc2d
Difference previously initialized left and right as empty slice
literals (Slice{}), causing repeated grow-and-copy allocations
as elements were appended.
Now preallocates with make(Slice, 0, len(listN)) to avoid
unnecessary reallocations.