Skip to content

Commit 6de9887

Browse files
committed
docs(fmt): clarify synchronous I/O tradeoff
1 parent 3238519 commit 6de9887

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/rstack/src/fmt/worker.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ const hashContent = (content: string | Uint8Array): string =>
1616
hash('sha256', content, 'base64url').slice(0, 16);
1717

1818
/**
19-
* Use synchronous direct I/O in workers and the one-file main-thread path to avoid
20-
* libuv scheduling overhead. This prioritizes throughput over crash-safe replacement.
19+
* Synchronous file I/O avoids libuv scheduling overhead in workers and single-file
20+
* main-thread runs. This favors throughput over crash-safe file replacement.
2121
*/
2222
const formatFile = async ({
2323
file,

0 commit comments

Comments
 (0)