AddStaticMeshComponent(BP) vs NewObject (C++) Slower Performance

I have recently converted my BP code to C++ and one thing I see different is the behavior of creating static meshes. In Blueprint when you create a mesh with AddStaticMeshComponent this instance is auto cleared on the re-entry of the construction function. But in C++ this does not happen causing you to manually delete these objects causing slower construction. Unless there is a looser construct process that I’m missing. I’m trying some other construction types but they all seem to keep the object around after the initial creation in the constructor.

Has anyone else seen this to be true? Maybe there is a faster process for clearing static mesh? Of maybe the way that they create a mesh with AddStaticMeshComponent has a weak reference so it can be better cleared? … I’m looking though the docs now for faster processes but before when Dragging out a spline I create meshes along the spline but in BP its a fast process but in C++ its slower to do this process. I’m not really understanding why…

This is it working just fine in BP in C++ the editor crawls.

I found this which deletes the objects automatically this increated the performance but it’s still slower than the BP creation:

		tmpMesh->CreationMethod = EComponentCreationMethod::SimpleConstructionScript;

Looking more into the TOT of the createion process…

I still had a few objects that were suppose to be dynamic that did not use the creation method, this cleared everything up and is now just as fast as the BP methods:

tmpMesh->CreationMethod = EComponentCreationMethod::SimpleConstructionScript;