Data Science & Analytics

Golang Data Structures

Golang data structures — slices (internals, capacity growth, preallocation, slices package), maps (internals, hash buckets, maps package), arrays, container/list/heap/ring, strings.Builder vs bytes.Buffer, generic collections, pointers (unsafe.Pointer, weak.Pointer), and copy semantics. Use when choosing or optimizing Go data structures, implementing generic containers, using container/ packages, unsafe or weak pointers, or questioning slice/map internals. Not for applying optimization patterns once profiling has identified a bottleneck (→ See `samber/cc-skills-golang@golang-performance` skill).

Publisher / source
samber/cc-skills-golang (found on skills.sh)
Upstream record
samber/cc-skills-golang
Version
Version 2
Published
Publication review
Approved for publication
Content fingerprint
36d8047541529a0254d3221b53c0d3b7c6c10b499a545201be55e0f0be510952