Dear Erich,
I have now installed the latest version of ooRexx for MAC (with the help of the
BSF installer):
Open Object Rexx Version 5.0.0
Build date: Jul 7 2017
Addressing mode: 64
And I can confirm that the problem with ~arrayIn is solved
File read using MB, 1135791 items read in 13272 ms
File read using ~arrayIn(), 1135791 items read in 1225 ms
Thus rather than 39 seconds it is now around 1 second, quite some improvement!
Many thanks for the support, I will do some further testing on how the memory
use is handled, both on Win and Mac, If I find anything suspicious I will let
you know, but I guess this was it. Thanks for the hint on shared reading, I
have indeed had problems with that in the past.
Hälsningar/Regards/Grüsse,
P.O. Jonsson
[email protected]
> Am 07.07.2017 um 13:26 schrieb Erich Steinböck <[email protected]>:
>
> Can you provide directions (or point me to them) I will give it a try
> P.O., you can build an interpreter from source (see
> https://sourceforge.net/p/oorexx/wiki/how-to-build-oorexx/
> <https://sourceforge.net/p/oorexx/wiki/how-to-build-oorexx/> how to build on
> Windows and Linux)
> You can download the latest Linux packages and Windows installers (but no Mac
> build yet)
> fromhttps://sourceforge.net/projects/oorexx/files/oorexx/5.0.0beta/
> <https://sourceforge.net/projects/oorexx/files/oorexx/5.0.0beta/>
> Or you can use Rony's Mac build from today
>
> File read using ~arrayIn(), 1135791 items read in 39235 ms
> This is supposed to be fixed with the latest build
>
> When reading a file, typically it's good practice to explicitly open it, e.
> g. stream~open("read shared"). On Windows this will allow concurrent access
> to the file.
>
> It may also be worth to read about the Collection classes ooRexx provides, so
> you can find out, which one might fit your problem best. When looking at your
> data, I'd say check out Relation
> ------------------------------------------------------------------------------
> 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
------------------------------------------------------------------------------
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