Hi Michael,

On 13.03.2025 12:39, Michael Lueck wrote:

Rony G. Flatscher wrote:

On 13.03.2025 02:53, Michael Lueck wrote:

Michael Lueck wrote:

I am working through revering my LDSTextFile class to use Stem storage rather than Array storage. My plan is to be able to exchange version of the LDSTextFile class... the Array storage based vs the
Stem storage based.... do some comparative performance numbers.


I have the peripheral methods connected to Stem storage. Now...

Was there an enhanced way to read / write text files directly to Stem objects 
in ooRexx 5.0.0?

If so, a direction pointer please.

I have checked the reference for the Stem / String / Stream classes, and I am not seeing new capabilities. I see the Array focused methods.

No, there is no way currently to directly read the content of a file into a 
stem.


Oh.... then I seem to have misunderstood the performance comparison I was invited to evaluate. I thought it was Array vs Stem storage.


The stream's arrayin/arrayout methods allow to read a file's content into an array and to use the current content of an array to write to a file.


I am suspecting that those arrayin/arrayout methods of the Stream class were the poor performers back in the ORexx 1.x and 2.x era.

What I understood was that you had an ooRexx program that performed poorely in the past and that you were not sure whether that problem is still present. Therefore I tried to ask you to test that program against modern versions of ooRexx to see whether your observation of more than ten, fifteen years ago would still hold.

If you do not experience any performance problems with interacting with streams/files, then I would regard this thread to be closeable. This is up to you, of course.

Best regards,

---rony



_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to