performance: Improve Activation Range entity iteration
Faster Entity iteration using the chunks full entity list and array access. Faster chunk lookups skipping the cache, as the pattern of access was not suitable for cache usage (each request will likely blow cache) This reduces the cost of Entity Activation Range's initial marking.
This commit is contained in:
@@ -46,7 +46,7 @@ index 092bff78ab..a987916055 100644
|
||||
+ velocitySupport = getBoolean("settings.velocity-support.enabled", false);
|
||||
+ velocityOnlineMode = getBoolean("settings.velocity-support.online-mode", false);
|
||||
+ String secret = getString("settings.velocity-support.secret", "");
|
||||
+ TimingsManager.hiddenConfigs.add("Settings.velocity-support.secret");
|
||||
+ TimingsManager.hiddenConfigs.add("settings.velocity-support.secret");
|
||||
+ if (velocitySupport && secret.isEmpty()) {
|
||||
+ fatal("Velocity support is enabled, but no secret key was specified. A secret key is required!");
|
||||
+ } else {
|
||||
|
||||
Reference in New Issue
Block a user