× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Hello,

In the February edition of iSeries News there is an excellent article
about runtime arrays by Julian Monypenny.

True. There have been LOTS of articles on this subject over the past 10 years. Lots and lots and lots of them. I still struggle with one thing: Why would anyone want to do this?

Why create this level of complexity in your code to save a few hundred kilobytes? Surely your iSeries, like mine, uses a very efficient memory handling system that will keep the stuff you're not using on disk where a few hundred kilobytes, or even megabytes, don't really matter. Surely, even if it wasnt' efficient, the amount of memory your array used would be completely insignificant on any computer created this century.

Now, if you're doing it purely with pointer logic in order to exceed the 32767 limit on array indexes, then I can see why you'd do it. But, to avoid 50 or so elements of a small array being allocated? You've got to be kidding me.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.