Browse Source

Checkin to disable stack track debug info for performance tuning.

Justin Butler 21 years ago
parent
commit
72112dbe72
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/interval/MetaInterval.py

+ 2 - 2
direct/src/interval/MetaInterval.py

@@ -23,8 +23,8 @@ class MetaInterval(CMetaInterval):
 
     SequenceNum = 1
     def __init__(self, *ivals, **kw):
-        if __debug__:
-            self.debugInitTraceback = PythonUtil.StackTrace("create interval", 1, 10)
+        #if __debug__:
+        #    self.debugInitTraceback = PythonUtil.StackTrace("create interval", 1, 10)
 
         name = None
         #if len(ivals) == 2 and isinstance(ivals[1], types.StringType):