Hello,
I'm working on a program that has a variable size for "numeric digits" and
am wondering how much memory (e.g. virtual / physical) ooRexx uses for
holding and working with various numbers. PLEASE NOTE: At this point all
my programming is using the procedural part of ooRexx and not the object
oriented side.
In case specifics will help, one of the programs I'm working on (and trying
to speed up for a friend) computes PI. He is using something he calls
"Chudnovsky's" and with precisions ranging from 1000 to one million and I
suspect even higher. To help speed things up I'm looking at saving
previous values (of which there could be tens of thousands or even more).
As I remember Rexx says numbers as character strings, thus each digit is a
character. Yet, I'm thinking there has to be some overhead and maybe more.
How does Rexx internal memory usage works for single numbers, one stem, and
multiple stem variables?
(BTW, I apologize if the question shows a lack of understanding, but its
why I'm asking the question. I just hope I know enough to form a good
question.)
Thank you,
Bert Moshier
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users