design_patterns-catgut_string
OfficialPool-backed mutable strings for fast, safe code
Authoramarbel-llc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Go strings are immutable and allocations can blow up in hot paths; catgut.String provides a pool-backed mutable alternative with copy-detection safeguards.
Core Features & Use Cases
- Pooling via GetPool().GetWithRepool() to reuse buffers across operations.
- Mutable buffer-backed string with Reset() to avoid reallocations.
- Copy-detection to panic on accidental value copies in debug builds.
- Flexible I/O via Write, WriteTo, and ReadFrom for hot-path manipulation.
- Typical use on parsing identifiers, tags, and other performance-critical string handling.
Quick Start
Create a pooled catgut.String, set its value, and reuse it across iterations with Reset to minimize allocations.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: design_patterns-catgut_string Download link: https://github.com/amarbel-llc/dodder/archive/main.zip#design-patterns-catgut-string Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.