dualfroz 442a17b572 fix(arrays): stop fill from growing the array on reversed spans
fill rebuilt the array as array[:start] + fill + array[end:]. When start
came after end those two slices overlapped, duplicating the shared
elements and growing the array while writing no value. Normalize start and
end into [0, length] and fill in place with an index loop so an empty span
is a no-op and the length stays fixed.
2026-09-06 01:12:09 +02:00
S
Description
My contributions to dgilland/pydash: 4 commits, 1 merged PRs
158 KiB
0 Stars 1 Watchers 0 Forks
Languages
Python 100%