httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <>
Subject Re: svn commit: r543511 - /httpd/httpd/branches/1.3.x/src/main/http_main.c
Date Fri, 01 Jun 2007 23:22:28 GMT
Ruediger Pluem wrote:
> For my understanding (and a bit of devils advocate here :-)): Why do we use a
> table here and not a fixed size array (HARD_SERVER_LIMIT) of ints (apr_array of
> pid_t in the 2.x case). If we keep the pids at the same index as in the
> scoreboard the checks would be somewhat faster and simpler to do. Of course
> we waste more memory.

We can afford the time taken I think, to save space and to
be more efficient... I really dislike all that wasted space :)

   Jim Jagielski   [|]   [|]
	    "If you can dodge a wrench, you can dodge a ball."

View raw message