mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-25 00:06:46 +00:00
Avoids creating O(n) garbage by using a slice with enough capacity to hold the temporary head-portion of the list accumulated while walking the list to insert element(s).