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

Add option to keep furnaces cached in memory #13

Open
sgdc3 opened this issue Oct 30, 2020 · 1 comment
Open

Add option to keep furnaces cached in memory #13

sgdc3 opened this issue Oct 30, 2020 · 1 comment

Comments

@sgdc3
Copy link
Contributor

sgdc3 commented Oct 30, 2020

Some servers don't mind about the memory usage of keeping all the furnaces loaded at runtime, there should be an option to disable the entire expiring cache system. (Data will be loaded on world load/unload)

@Jikoo
Copy link
Owner

Jikoo commented Oct 31, 2020

While I'm not opposed to some system where a BlockProvider handles construction and management of data, I'm unlikely to invest the time myself. The region-esque approach EnchantableBlocks takes isn't uncommon in tracking block data. The reason EB swapped to the current system was that a lot of lag was being caused by too many furnaces being loaded or saved simultaneously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants