{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreihyedvxjf3ftqc55cggenzleia2br4kbju6jntbds6d33547w6fne",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mkuzxjufhs42"
},
"path": "/t/conduit-to-yield-first-lines-from-file-without-leaking-space-or-file-handles/14030#post_9",
"publishedAt": "2026-05-02T15:15:58.000Z",
"site": "https://discourse.haskell.org",
"tags": [
"concatMap",
"here"
],
"textContent": "`jet-stream` wouldn’t work well with thousands of files because IIRC the way I implemented it concatenation of large numbers of streams will cause a quadratic slowdown. It seems that concatMap from `streamly` doesn’t have this problem, judging from the note here.",
"title": "Conduit to yield first lines from file without leaking space or file handles?"
}