Re: [pygccxml-development] Possible infinite loop bug
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2008-08-26 05:28:16
|
On Tue, Aug 26, 2008 at 1:58 AM, Gustavo Carneiro <gjc...@gm...> wrote: > Sorry, I just discovered it's not a bug. It's not infinite recursion, just > very slow :P This is also bug. I would like to see your use case, so I can improve it. The first obvious think we can do is to add cache for element_type method. This should dramatically improve the speed of your application - or discover another bottleneck. > It turns out that > pygccxml.declarations.container_traits.xxx_traits.element_type() is rather > slow and I was calling it more often than I should. > > Now, I am left with the old problem of distinguishing between sequence and > mapping containers... </hint> :-). I will work on this today. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |