/Engine/Source/Editor/UnrealEd/Public/EditorComponents.h
The maximum number of actors we should select before a performance warning message is displayed to the user
namespace EditorActorSelectionDefs { static const int32 EditorActorSelectionDefs::MaxActorsToSelectBeforeWarning = 5000; }