Expand description
Clone optimization system for reducing unnecessary clone() calls
This module provides tools to analyze and optimize clone() calls throughout the codebase by replacing them with Arc-based sharing where appropriate.
Structs§
- Clone
Info - Information about a specific clone operation
- Clone
Optimizer - Clone optimization analyzer
- Clone
Stats - Statistics about clone operations in the system
Functions§
- should_
use_ arc - Check if a type should use Arc sharing based on common patterns