Re: [pygccxml-development] Re: recent changes to pygccxml\pyplusplus
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-03-06 04:43:18
|
On 3/6/06, Allen Bierbaum <al...@vr...> wrote: > Matthias: > > I really like anything that can help increase performance. :) I did not see the code, but my filling is that Matthias did pretty good wor= k. > I don't know if this would help you or not, but one thing I found that > helped my cache performance greatly (and was on of the reasons I > refactored the code to use md5 signatures) was that I could create a > temporary header file that included all the headers I wanted to parse. > Then I included that file instead of using a full "project" of header > files. This made it so gccxml only ran once and it removed all the > redundancy of seeing the same decls from multiple included headers. > This was able to help me take a parse that was around 2 hours down to > about 1.5 minutes. Overall a very good improvement in speed. :) My experience is a little bit different: I learn, that instead of using cache, it is better to leave gccxml created files and to parse them again. But now with all you improvements I should re-check my approach. > > -Allen -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |