Skip to content

oxfmt: walk and format at the same time, instead of walk, collect paths then format #13836

@leaysgur

Description

@leaysgur
  • walk.rs
    • Before: Collected all file paths into memory before processing
    • After: Sends each discovered path immediately through a channel
  • format.rs
    • Before: Wait for complete path collection, then start formatting
    • After: Two concurrent threads - one walks directories and sends paths, another receives and processes them
  • service.rs
    • Before: Batch processing of all files at once
    • After: Added method to process individual files as they arrive

Metadata

Metadata

Assignees

Labels

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions