Why Blueprint performance is so much higher than my C++ Script

What is this for? There are many ways you can generate a grid in just a few lines. You can use a material to do so for general use.