Re: [ooc-compiler] Compilation time
Brought to you by:
mva
|
From: Norayr C. <no...@ar...> - 2011-08-03 15:23:55
|
Was it under MinGW? I am trying to guess whether that delay caused by oo2c or GNU gcc/binutils. I think I always noticed that ooc translates fast, and then gcc/ld work slow. Norayr On 08/03/11 17:44, Alexander Iljin wrote: > Hello! > > I thought I found a bug: the compiler would hang on a source file, one procedure in particular. > I commented the procedure body, and then started to uncomment it line by line to find the > stumbling block. Gradually I realized that it didn't hang, it just took an unusually long to > complete. With every branching instruction added (a loop or an IF statement) the compilation > time doubled! That's an interesting property... > > When I moved parts of code into local procedures the stubmling block was removed. > It forced me to simplify the code, which is kind of good, but still a bit weird. > > ---=====--- > Alexander > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > ooc-compiler mailing list > ooc...@li... > https://lists.sourceforge.net/lists/listinfo/ooc-compiler > |