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

Farmer caching tweaks #2579

Merged
merged 4 commits into from
Mar 4, 2024
Merged

Farmer caching tweaks #2579

merged 4 commits into from
Mar 4, 2024

Conversation

nazar-pc
Copy link
Member

@nazar-pc nazar-pc commented Mar 1, 2024

A few things I discovered that should be beneficial.

The first commit reduces memory usage on Windows, second simply skips unnecessary caching of pieces that are already in piece cache in the plot cache. Third commit has a special case for Windows to avoid very large farms where piece cache is large enough as is.

Code contributor checklist:

…to make sure it doesn't use as much memory
@nazar-pc nazar-pc added this pull request to the merge queue Mar 4, 2024
Merged via the queue into main with commit 7bece33 Mar 4, 2024
22 checks passed
@nazar-pc nazar-pc deleted the farmer-caching-tweaks branch March 4, 2024 09:44
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