#2127: Python implementation of g.message
-------------------------+--------------------------------------------------
 Reporter:  huhabla      |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Python       |     Version:  svn-trunk                
 Keywords:               |    Platform:  Unspecified              
      Cpu:  All          |  
-------------------------+--------------------------------------------------
 The Python grass script library uses g.message to provide warning, error,
 debug, verbose, info and percent messages. In case these messages are
 called many times (> 100), the overhead of calling g.message rises and can
 slow the actual processing massively down.

 I would suggest to implement the behavior of g.message directly in Python
 to reduce the overhead, replacing the functions that make use of
 g.message:

  * grass.core.message()
  * grass.core.debug()
  * grass.core.verbose()
  * grass.core.info()
  * grass.core.percent()
  * grass.core.error()
  * grass.core.warning()

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2127>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to