-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.1.4 NewChunks and BaseFinder performance improvements
- Updated the taskExecutor in **NewerNewChunks** to ensure all chunks are processed. This helps to eliminate the few false positives that were in association with the chunk data not loading in properly. - Replaced the PacketByteBuf reading with direct reading of the values we wanted to read by using an accessWidener in the code. This may improve performance because the client already interprets the bytes we are serializing. - Adjusted the min and max setting for block scanning with BaseFinder. They now are based on how many blocks above or below the current build limit in the world to start scanning blocks. This should improve performance in the nether and end dimensions. - Updated the taskexecutors in **NewerNewChunks** and **BaseFinder** to use a CachedThreadPool Executor instead of SingleThreadExecutor. This way they can share their tasks if both modules are running at the same time which improves chunk loading and detection with both modules when run at the same time.
- Loading branch information
Showing
8 changed files
with
99 additions
and
237 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
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
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 |
---|---|---|
|
@@ -90,4 +90,4 @@ public String getPackage() { | |
return "pwn.noobs.trouserstreak"; | ||
} | ||
|
||
} | ||
} |
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
Oops, something went wrong.