[Mumps2Py:] [87] printing the names of the modules being added was a performance drag, so commented that code out. |
[ Thread Index |
Date Index
| More lists.mumps2py.org/discuss Archives
]
Revision: 87
Author: pgallot
Date: 2008-02-06 21:29:12 +0000 (Wed, 06 Feb 2008)
Log Message:
-----------
printing the names of the modules being added was a performance drag, so commented that code out.
Modified Paths:
--------------
trunk/mumps2py/mumps_module.py
Modified: trunk/mumps2py/mumps_module.py
===================================================================
--- trunk/mumps2py/mumps_module.py 2008-02-06 03:20:50 UTC (rev 86)
+++ trunk/mumps2py/mumps_module.py 2008-02-06 21:29:12 UTC (rev 87)
@@ -155,9 +155,9 @@
if oldmodname:
modules.append( ModuleInfo(inputfile, outputdir, oldmodname,
lastmodline + 1, lineno - 1))
- if __debug__:
- print oldmodname, lastmodline + 1, lineno - 1, "\t", \
- lineno - lastmodline
+ #if __debug__:
+ # print oldmodname, lastmodline + 1, lineno - 1, "\t", \
+ # lineno - lastmodline
oldmodname = tmp
lastmodline = lineno
@@ -184,8 +184,7 @@
if routine_filter.accept(routine):
modules.append( ModuleInfo(inputfile, outputdir,
routine, start, end))
- if __debug__:
- print routine, start, end, "\t", end - start +1
+ #if __debug__: print routine, start, end, "\t", end - start +1
return modules