Introduction
A doubly linked list with a concurrent safety switch.
Usage Scenarios:
Doubly linked list.
Usage:
import "github.com/gogf/gf/v2/container/glist"
API Documentation:
https://pkg.go.dev/github.com/gogf/gf/v2/container/glist
Documents
📄️ List - Usage
Use the glist container in the GoFrame framework to perform linked list operations, including basic usage, list traversal, element push and pop, insertion and movement, concatenation and removal operations, and JSON serialization and deserialization. The example code demonstrates different operations in non-concurrent and concurrent safe scenarios to help understand the application of linked lists in Go language.
📄️ List - Performance
Under the GoFrame framework, the performance test results of the linked list (container/glist). A series of benchmark tests, including PushBack, PushFront, Len, PopFront, and PopBack, were conducted to evaluate the efficiency and performance of linked list operations to help developers optimize code performance.