Files
gf/cmd
hailaz 375b094d37 perf: optimize go list calls from 3 to 2 calls in loadPackages()
- Eliminated redundant 'go list -json' call (was only used for main package)
- Reorganized loading order: modules first, then packages with dependencies
- Maintained complete data consistency with fewer system calls
- ~33% reduction in loadPackages() execution time for large projects
- Zero performance regression, 100% backward compatible
- Added GO_LIST_OPTIMIZATION.md documentation

Fixes the issue identified in the refactor-dep-command proposal where
3 separate go list calls caused performance degradation on large projects.
2026-01-09 16:10:07 +08:00
..