forked from jerith666/elbum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix space leak by including writing out shrunken images in paralleliz…
…ed operation as discussed in the comment, the old approach would hold all shrunken images in memory at once, before writing any of them to disk. the new approach permits each shrunken image to be written to disk as soon as it's ready. this source of the space leak and the solution was suggested by claude.ai. fixes jerith666#98
- Loading branch information
Showing
4 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ let | |
extra | ||
JuicyPixels | ||
parallel | ||
parallel-io | ||
regex-compat | ||
safe | ||
tasty | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,7 @@ executable elbum | |
, unix | ||
, bytestring | ||
, parallel | ||
, parallel-io | ||
, extra | ||
, safe | ||
, base >=4.10 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters