Re: [pygccxml-development] Any recent commits that may affect performance
Brought to you by:
mbaas,
roman_yakovenko
From: Allen B. <al...@vr...> - 2007-02-16 21:21:21
|
>>> 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. > That increased performance by about 5%. So a small speedup, but not a significant speedup. Any other ideas? -Allen |