David J Murray Dev
~ Learn and Do - Excel and Share ~

Dim vs Dynamic

Jan 20, 2007
You're Reading: Dim vs Dynamic

Last week, a very old application (10 years old) broke because the number of dimensions within a static array was exceeded.

The application is a front-end to the spooler and as such, if the number of entries within the HOLD (&HOLD&) file exceeds the number of dimensions within the array the program aborts.

The array is a two dimensional and it had exceeded the maximum allocated size permissible.

So I decided to do a quick find and replace; replace the () with and see what the speed is like.

Well, being old school, I know that dynamic arrays are slower that dimensioned arrays. But I could not measure any noticeable increase in time using the dynamic array.

I will have to do some time tests to see if there is still significant speed differences. I wonder…

About the Author

<a href="https://davidjmurray.dev/losucag/davidjmurray/" target="_self">djm</a>


I have been in the computer/IT industry for over 35 years. After spending half a life-time in highly proprietary database environments, I have succumbed to the WordPress Eco-system and I'm well down the chasm. I am specializing in AWS hosting, Wordpress CMS, Elegant Themes, in particular Divi and Extra themes.


Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pin It on Pinterest

Share This