[quote="newt":273pkkxq]Perlin shouldn't slow down anything, it's just data.
Well, I thought that the perlin noise plugin was causing a small similar "Not Responding" message at the start of the level when generating the noise, but you're right, it's not causing any problems.
So that's something.
What I have discovered is that it's the creation of 2 large arrays that hold my world data that's the cause of another freeze.
This isn't a problem though, as I can make them global and create them when the game first boots up.
Hopefully, in a couple of hours time I'll have eradicated all the freezes from the game.
And I know to avoid nested loops in the future too.