On Sat, Jun 25, 2005 at 02:23:35PM -0400, Ed Allen Smith wrote:
> In message <[EMAIL PROTECTED]> (on 25 June 2005 12:05:02 +0200),
> [EMAIL PROTECTED] (H.Merijn Brand) wrote:
> >On Fri, 24 Jun 2005 23:26:56 +0100, Nicholas Clark <[EMAIL PROTECTED]> wrote:
> >
> >> Would it make sense to replace the hardwired 2048 file descriptor reference
> >> count array (used in perlio.c, defined in perlvars.h)
> >
> >In in favour of lifting hard coded limits, but I'd not like that to cause
> >speed concerns. How about a stic set of, say, 32 fd's, and the rest fully
> >dynamic?
> 
> Or the rest allocated 32 at a time?

I think that both would actually be slower than simply allocating a contiguous
block that is big enough for the current highest known fd, and re-allocating
the block if it proves to be too small.

Nicholas Clark

Reply via email to