Salome HOME
Optimize work with std::map
[modules/geom.git] / src / GEOM / GEOM_BaseDriver.cxx
index 6328fd425065d3d12f6177b1770eddefe62939d5..1e48dc623216294e62bb354f6928d8a9aaca6585 100644 (file)
@@ -119,7 +119,8 @@ GEOM_Param & GEOM_Param::operator<<( const Handle(TColStd_HSequenceOfTransient)&
   {
     if ( funs->Length() > 1 )
       (*this) << funs->Length() << " objects: ";
-    for ( int i = 1; i <= funs->Length(); ++i )
+    int nb = Min( 100, funs->Length() ); // don't show huge lists
+    for ( int i = 1; i <= nb; ++i )
       (*this) << funs->Value( i ) << " ";
   }
   return *this;