How does UE4 support tens of thousands of StaticMeshActors in the scene

There are hundreds of thousands of StaticMeshActors in the scene. How can the rendering not be stuck? Is there any optimization solution? StaticMeshActor calls a different StaticMesh, and the production of HLOD is too slow. Ask if there is a solution