optimizations (#10)

* optimize item data communication, options for future item flags

* lighten load on gc from inventory apis

* dont allocate for SyncPlayerFromNative

* fix blocklag
This commit is contained in:
DrPerkyLegit 2026-04-03 18:08:59 -04:00 committed by GitHub
parent f364a5bb07
commit 08a88fed6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 144 additions and 88 deletions

View file

@ -1795,7 +1795,7 @@ void MinecraftServer::run(int64_t seed, void *lpParameter)
chunkPacketManagement_PostTick();
}
lastTime = getCurrentTimeMillis();
//lastTime = getCurrentTimeMillis();
// int64_t afterall = System::currentTimeMillis();
// PIXReportCounter(L"Server time all",(float)(afterall-beforeall));
// PIXReportCounter(L"Server ticks",(float)tickcount);