Re: 4.0 and include statements

new topic     » goto parent     » topic index » view thread      » older message » newer message
mattlewis said...

So when the IDE is parsed, over the entire course, it ends up with over 60,000 unique forward references (this includes things like type checks). Which really, really slows down the parsing. I went through and added include ide.exw to the files, and the parsing time was drastically reduced. Note, it would have been better to have included the specific files that were used, but this was easy, and I just wanted to see the difference.

The moral of this story is that to play nice with 4.0, you shouldn't have files rely on other files to include the code you rely on. Of course, with public and export scopes, this will be enforced to a certain extent.

Matt

Yes, in the original state IDE has become very slow with Eu 40. The starting Splash Screen shows in about a minute compared to 4 to 5 seconds with Eu 3.1.1 on my system. Translated and compiled IDE starts immediately.

But as long as there is no official Win32lib for Eu40 which also uses some of the new strategies of Euphoria it makes no sense in my opinion to do substantial changes with IDE, apart from changing the include statements which you described. Using the standard library of Eu40 there would be a lot of places in IDE where the new provided functions and procedures could be applied.

Roland

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu