That answer would require a book.

Simple read, use a field, discard - prob. no difference or a net loss in 
performance since a MAT READ must parse all @AM marks during read operations.

If you work with multiple fields in a record, the performance gain increases 
with #users &, #records since you do not rehash attribute positions when 
working with the record.  It's already done during the MAT READ operation, 
maintaining attribute positions for you.

The savings while working with large records will be obvious to a single user 
within a single program.
The net savings on a multi-user system over the course of a day can be huge.

Again, look back in the prior posts... processes that would take hours to days 
were reduced to seconds.
There are program examples, run-time results, records-per-second figures and 
technical descriptions.

DIM arrays are not for nostalgia or some sentiment throw-back... they are there 
for real and important reasons.

An example in Universe... create a record of 10,000,000 bytes and edit the 
record.  Performance is amazing, after the initial read/setup.

Try scrolling through the data using a program and a dynamic array and see what 
you get! :-) 
You will get bored waiting for the display to refresh after a few dozen pages.

... david ...

David L. Wasylenko
President, Pick Professionals, Inc
w) 314 558 1482
d...@pickpro.com


-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of jbut...@hampshire.edu
Sent: Friday, July 27, 2012 10:24 AM
To: U2 Users List
Cc: U2 Users List
Subject: Re: [U2] Array Types

I understand the performance trade off between dynamic and dimensioned arrays 
but I'm curious about quantifying.

I know the answer will depend on hardware and load, but in general at what 
point (length) do dimensioned arrays become better performing than dynamic?

1000?
10000?
100000?

Any examples or benchmarks appreciated.

Jeff Butera
Sent from my iPhone

On Jul 27, 2012, at 11:14 AM, "David L. Wasylenko" <d...@pickpro.com> wrote:

> Speed
> There is a *long* thread here demonstrating the difference between *DAYS* of 
> processing and seconds, using large records for demonstration.
> 
> ... david ...
> 
> David L. Wasylenko
> President, Pick Professionals, Inc
> w) 314 558 1482
> d...@pickpro.com
> 
> 
> -----Original Message-----
> From: u2-users-boun...@listserver.u2ug.org 
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Brutzman
> Sent: Friday, July 27, 2012 10:16 AM
> To: U2 Users List
> Subject: [U2] Array Types
> 
> I am surprised that anyone uses dimensioned arrays.  I use dynamic arrays for 
> everything.
> 
> If there are any advantages that dimension arrays have over dynamic... please 
> let me know... without getting sentimental.
> 
> --Bill
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to