rust-memory
OfficialMinimize allocations and cloning in Rust.
Software Engineering#ownership#rust#memory-management#smart-pointers#borrow#cow#allocation-minimization
Authorgar-ai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Rust developers often face unnecessary allocations and clones that degrade performance and increase memory usage in hot paths.
Core Features & Use Cases
- Borrowing and references to avoid copies in hot paths.
- Copy-On-Write (Cow) patterns to minimize allocations when ownership can be shared or deferred.
- Smart pointers (Arc, Rc, Box) for controlled ownership and thread-safe sharing.
Quick Start
Refactor a Rust function to take ownership or borrow as appropriate, replacing allocations with references and Cow where possible.
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: rust-memory Download link: https://github.com/gar-ai/mallorn/archive/main.zip#rust-memory 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 223,000+ vetted skills library on demand.