It depends on what you mean by a performance issue.  For some people the
time/memory it takes can be fine, for some they are calling it over and over
and it takes too much time.

I would suggest you write a simple program that clears an array 10, 100,
1000 times and see if it's fast enough for you.

If I'm doing this once at the top of a program, I may not worry about it.
If I'm going to be doing this for every record in a 1,000,000 record
database, I'd find some other way to do it.

I think you'll just need to test it yourself and see if it's fast enough for
you, if it's not fast enough, then find some other work around.

Regards,

Jim Langston

-----Original Message-----
From: Tanveer, Mohammad [mailto:MTanveer@friedmancorp.com]

I think my only question is that CLEARING ARRAYS in a program is a
performance issue or not specially in case of 9999 arrays all filled with
1000 bytes?

Sorry about the confusion, I am confused that's why I sent that message ;-)


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.