in reply to Large Array Performance

I'm thinking that the performance issues you're seeing are, at least partly, the result of a less-than optimal design. Have you considered using something that removes the necessity of keeping several million records in memory, such as using a tied hash, a tied array, a tied file or a database?

emc

Any New York City or Connecticut area jobs? I'm currently unemployed.

There are some enterprises in which a careful disorderliness is the true method.

—Herman Melville