Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce FileSystem.unjarOnce #1250

Merged
merged 2 commits into from
Jun 16, 2024
Merged

Conversation

etorreborre
Copy link
Owner

This is a complement to this PR.

@NTPape I extracted your LRU cache as a more generic structure, and used Operation for side effects.
Please tell me if everything looks good to you.

NTPape and others added 2 commits June 10, 2024 00:00
`specs2-html` currently copies all of its html resources (41 files) for each specification (executed with html output), reading and traversing the `specs2-html.jar` four times in the process, overwriting its own previously copied files over and over. This is inefficient and causes unnecessary strain on the disk usage. The newly introduced `unjarOnce` method is used by `specs2-html` to only unjar its resources once for each target location and filter criteria.
@etorreborre etorreborre self-assigned this Jun 12, 2024
@etorreborre etorreborre merged commit 08e4c4d into main Jun 16, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants