Of course there is at least one bug in here, but you get
the idea.
Mark.
On Fri, Jul 14, 2000 at 04:00:43PM -0700, [EMAIL PROTECTED] wrote:
> Line 153 of qmail-qmqpc.c is a good place to start. It's a trivial
> loop that would benefit from something like adjusting the starting
> point by some random value. Eg:
>
>
> randj = rand() % servers.len;
> i = 0;
> for (j = randj;j < servers.len;++j)
> if (!servers.s[j]) {
> doit(servers.s + i);
> i = j + 1;
> }
>
> Then repeat the loop from zero to randj - 1
>
> i = 0;
> for (j = 0;j < randj;++j)
> ...
>
- Re: questions about performance and setup markd
- RE: questions about performance and setup Hubbard, David
- RE: questions about performance and setup Jason Murphy
- Re: questions about performance and setup John White
- RE: questions about performance and setup Jason Murphy
- Re: questions about performance and setup Clint Bullock
- RE: questions about performance and setup Austad, Jay
- RE: questions about performance and setup Austad, Jay
- RE: questions about performance and setup Austad, Jay
- RE: questions about performance and setup Austad, Jay
- RE: questions about performance and setup Austad, Jay
