diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-13 08:55:18 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-13 08:55:18 +0100 |
| commit | 65f6866b985fb3d0993fc2b6798c74015fb4fa6a (patch) | |
| tree | 5c2b552bfc7dff5345c23713588462cf15273525 /training/target_1 | |
| parent | 6a726a83d534e338e9badcfc26cb13cbc003967b (diff) | |
Refactor: Extract duplicate logic in compiler tools
Consolidate repeated timeline/resource analysis code to improve
maintainability and reduce duplication.
seq_compiler.cc changes:
- Extract timeline analysis (max time, sorting) into analyze_timeline()
- Extract sequence end calculation into get_sequence_end()
- Reduces ~45 lines of duplicate code
tracker_compiler.cc changes:
- Extract resource analysis into ResourceAnalysis struct
- Consolidate sample counting and recommendations
- Reduces ~75 lines of duplicate code
Both tools verified with successful builds.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'training/target_1')
0 files changed, 0 insertions, 0 deletions
