abcxyz / abcxyz/abc

Add parallelism when processing multiple files in a dir

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
performance
Dominant language
Go
Stars
16
Forks
4
PR merge metrics
No merged PRs in 30d

Description

### TL;DR

In `copyRecursive()` and in `walkAndModify()`, we use `filepath.WalkDir()` to process each file in a directory sequentially. We could do something like set up a parallel work queue to do IO in multiple goroutines, hopefully improving performance.

We should wait to do this until we have some evidence that our existing approach isn't fast enough.

### Detailed design

_No response_

### Alternatives considered

_No response_

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.