code: func (l *List) Reset() {
  	if lastIdx := len(l.chunks) - 1; lastIdx != l.consumedIdx {
  		l.memTracker.Consume(l.chunks[lastIdx].MemoryUsage())
  	}
  	l.freelist = append(l.freelist, l.chunks...)
  	l.chunks = l.chunks[:0]
  	l.length = 0
  	l.consumedIdx = -1
  }
docs: // Reset resets the List.