httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: mod_speling mem usage on large directories
Date Fri, 22 Jan 1999 23:39:24 GMT


On Fri, 22 Jan 1999, Dean Gaudet wrote:

> 
> On Fri, 22 Jan 1999, Eric Prud'hommeaux wrote:
> 
> > My plan was to take care of the bulk of the problem (assuming
> > fortuitous memory management) by using ap_realloc or ap_free. Since
> > these functions don't exist, I'm writing to you with a bug report,
> > rather than a patch. Sorry.
> 
> Use Roy's new function ap_array_pstrcat().  Just build a big array of all
> the pieces and then cat them together in the end. 

There's also the ap_table_mergen() in there to deal with the variants
list.  That's O(n^2) memory... and to fix that you need to use
ap_overlap_tables.  Bleh.

Dean


Mime
View raw message