Commit Graph
1 Commits
Author SHA1 Message Date
chrislu ba318bdac3 Reorganize ML optimization into dedicated package
- Move ML components to weed/mount/ml package for better organization
- Create main MLOptimization interface with configuration
- Separate prefetch, access pattern detection, and ML reader cache components
- Add comprehensive configuration and metrics interface
- Maintain backward compatibility with existing mount package
- Package structure:
  * weed/mount/ml/prefetch.go - Prefetch manager
  * weed/mount/ml/access_pattern.go - Pattern detection
  * weed/mount/ml/ml_reader_cache.go - ML-aware reader cache
  * weed/mount/ml/ml.go - Main interface and configuration

Test status: 17/22 tests passing, core functionality solid
Package compiles cleanly with proper import structure
2025-08-30 15:09:47 -07:00