On Fri, 19 May 2000, David Larkin wrote:

> I require a large array of ints in a real application, just stripped
> problem down to bear bones for demo.

Is your array sparse by any chance? If not your modperl daemon is going to
get _much_ larger after you populate that array. If it's sparse, consider
using a hash - that will give you a slight speed penalty at the benefit of
not consuming quite so much ram. Other things to consider:

Re-write this critical bit of code in XS (not as hard as it sounds).
Use a database.
Use the filesystem.

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org

Reply via email to