You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimize slice allocations in boxcutter to reduce memory overhead:
1. Pre-allocate trimmedPrevious with ClusterExtensionRevisionPreviousLimit capacity
- Avoids reallocation as the slice grows
2. Smart pre-allocation in splitManifestDocuments
- Estimates document count based on line count
- Reduces allocations when processing large helm manifests
- Minimum capacity of 4 for small bundles
These micro-optimizations reduce GC pressure during revision processing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments