Historical forum-msg-id-138052-edit, Revision 1
Original date:2023-09-08 08:34:42 Edited by: petelomax Subject: Re: Another Win32lib problem, and this may not be fixable. Fixed - sort of.....
ChrisB said...
I was a little curious myself - this seems faster
My guess would be that the first condition of the if statement leaves a spoolFuncs ref (and probably funcid) in a register which the next six tests can use, whereas the loop reloads every iteration and consequently suffers up to seven times as many AGI (address generation interlock) stalls. Even so, I'm a little surprised you noticed/actually managed to measure any difference. There are plans for a proper register allocator in Phix 2.0.0, should that ever happen.
|
Not Categorized, Please Help
|
- diff to current revision, view current revision history, backlinks
- Last modified Sep 08, 2023 by petelomax

