-
-
Notifications
You must be signed in to change notification settings - Fork 238
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
fix: Improve edit processing #2247
Conversation
- Completely nullifies issue of writing to SET between processing submission and processing completion - Leads to larger memory footprint, but that is acceptable - Leads to performance improvement in processing as there is no need to perform any multi-threading protection operations - Fixes #1861 - Fixes #2074 (gonna go ahead and say it does, this is really the only thing I can think of to do with the issue, and it's super rare anyway (never replicated by anyone else))
This has some conflicts with #2181 |
I know our memory usage is already pretty good and can take a hit but I am curious as to how much more memory this uses. Did you have an estimate? |
0.5 to maybe 4 Mbit a chunk I guess (so 0.1 to 0.5 MB) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found a typo but looks good otherwise
worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IChunkSet.java
Outdated
Show resolved
Hide resolved
4a0c7b2
to
a5193ed
Compare
Create a copy of SET chunk before processing