build: add initial PGO support and compile an initial profile

* When running with PGO enabled, the end dimension seems to crash for some reason
This commit is contained in:
Anaël committed 2026-10-26 13:39:17 +01:00
1 parent c929dbb44a
commit cc19b00ce8
6 files changed
+28 -13

No files matched your search

+1
View File
@@ -994,6 +994,7 @@ float Chunk::squishedDistanceToSqr(shared_ptr<Entity> player)
return xd * xd + yd * yd + zd * zd;
}
__attribute__((no_profile_instrument_function))
void Chunk::reset()
{
if( assigned )