github.com/apernet/quic-go@v0.43.1-0.20240515053213-5e9e635fd9f0/internal/utils/linkedlist/README.md (about)

     1  # Usage
     2  
     3  This is the Go standard library implementation of a linked list 
     4  (https://golang.org/src/container/list/list.go), with the following modifications:
     5  * it uses Go generics
     6  * it allows passing in a `sync.Pool` (via the `NewWithPool` constructor) to reduce allocations of `Element` structs