#Optimizing my terrain

1 messages · Page 1 of 1 (latest)

scarlet jacinth
foggy saddle
#

This code has zero optimization

scarlet jacinth
foggy saddle
#

Allocations, running the code too often, synchronous on the main thread, not parallelized

scarlet jacinth
#

yeah i know but i have never worked with something this complicated before and have no idea how to fix it

foggy saddle
#

You probably need to profile the code and research improvements step by step

scarlet jacinth
#

thats the profiler

foggy saddle
scarlet jacinth
foggy saddle
#

It tells you exactly how long each method call takes relative to others (mind the profiling overhead that makes everything 10x slower)

foggy saddle
scarlet jacinth
#

i think ill go to sleep now and look into it again tomorrow

#

im really tired

split locust