Re: Euphoria bug (Robert)
- Posted by Robert Craig <rds at RapidEuphoria.com> Sep 17, 2005
- 510 views
Vincent wrote: > Thanks for replying.. I think I understand what your saying, it's kind of > technical > for me, as I dont understand compiler logic well. > > Anyway, will optimization in the frontend fix this issue for the next release? > Thats > all that matters to me. I will be investigating this further. Hopefully I can improve the front-end algorithm for recycling temps, and achieve slightly better overall performance. It's generally better to use fewer temps if possible, because fewer dangling references will exist, and therefore fewer sequence copies will have to be made. I don't think it would be a good idea to clear all temps of references as soon as possible. Temps often hold integers, so it would be a waste of time to issue an IL op just to dereference them. This is an optimization issue, not a correctness issue. There are degrees of "goodness" I (or anyone with the PD source) can achieve here. It's not a straightforward matter of "fixing" something that's broken. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com