[ooc-compiler] Compilation time
Brought to you by:
mva
|
From: Alexander I. <aj...@ya...> - 2011-08-03 12:44:36
|
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 |