Re: [pygccxml-development] Any recent commits that may affect performance
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2007-02-16 20:48:45
|
On 2/16/07, Allen Bierbaum <al...@vr...> wrote: > Roman Yakovenko wrote: > > I need to study the report. The funny thing is that we do have cache for > > "full_name" algorithm. > > > I agree. When I saw that it surprised me. Is there anything you can > think of that may have changed in the past several months that would > increase the number of times that the full_name code is being called? > In other words, is there a new algorithm in the code that needs to be > made smarter to increase performance? Can you do me a favor: pygccxml.declarations.declaration_t. _get_name function implemented as def _get_name( self ): return self._get_name_impl() can you change the implementation to "return self._name" and to run this under profiler? I expect this change to increase performance. Thanks P.S. Please don't over quote. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |