Large static arrays seem to be a known slow point for the compiler — see e.g. these issues

4 Likes