The first step in any optimization task is to choose the algorithm with the best performance that satisfies one's requirements. Perlin Noise scales as O(2^n), where n is the number of dimensions.
/// Multi-octave simplex noise generator. /// Matches vanilla's `net.minecraft.world.level.levelgen.synth.PerlinSimplexNoise`. /// Created from a set of octave levels; each octave uses a separate ...