Hi P.O,

The second time it takes 50 MINUTES to finish!
>
>
> I can confirm the performance hit you're observing. I really have no good
> answer what is causing this .. I have opened [bugs:#1467]
> <https://sourceforge.net/p/oorexx/bugs/1467/>.


Rick has provided a patch for the performance issue you reported.  A fix as
been committed to the 5.0 trunk and [bugs:#1467]
<https://sourceforge.net/p/oorexx/bugs/1467/> has been updated accordingly.

You may want to run any further tests with the new code.


On Wed, Jul 5, 2017 at 9:00 PM, Erich Steinböck <[email protected]>
wrote:

> Hi P.O.
>
> DO WHILE qfileIn~lines <> 0
>>
> Never use Stream method lines() in a loop.  Other than the LINES()
> built-in function, it's argument defaults to "count" which is very
> expensive.  Use stream~lines("normal") or DO stream~lines()or SIGNAL ON
> NOTREADY instead.
>
> For best performance, use stream~arrayIn(), which is by far preferable to
> any other means.
>
> The second time it takes 50 MINUTES to finish!
>>
> I can confirm the performance hit you're observing. I really have no good
> answer what is causing this .. I have opened [bugs:#1467]
> <https://sourceforge.net/p/oorexx/bugs/1467/>.
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to