#5228 HIGH Retriag: launching activities is slow

Zarro Boogs per Child bugtracker at laptop.org
Fri Dec 28 03:26:26 EST 2007


#5228: launching activities is slow
---------------------+------------------------------------------------------
  Reporter:  tomeu   |       Owner:  tomeu            
      Type:  defect  |      Status:  new              
  Priority:  high    |   Milestone:  Retriage, Please!
 Component:  sugar   |     Version:                   
Resolution:          |    Keywords:  performance      
  Verified:  0       |    Blocking:                   
 Blockedby:          |  
---------------------+------------------------------------------------------

Comment(by bernie):

 Replying to [comment:25 gdesmott]:
 > When using the new sharing API, activity should only use some constants
 from the telepathy module. Will that make any difference if instead of
 importing telepathy and use these constants as "telepathy.foo", we'll
 import them using "from telepathy import foo, bar" (I have no clue how
 Python import actually works) ?

 I'm afraid the "from foo import bar "syntax just changes visibility, but
 doesn't save any processing.  The semantics for module writers is that
 code at global scope gets executed only once, the first time the module
 gets imported.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5228#comment:28>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list