Date: Wed, 6 Feb 2002 02:18:33 +0300 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: Alfred Perlstein <bright@mu.org> Cc: Mark Murray <mark@grondar.za>, des@freebsd.org, cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c Message-ID: <20020205231832.GA9856@nagual.pp.ru> In-Reply-To: <20020205151540.Z59017@elvis.mu.org> References: <20020205215540.GB8579@nagual.pp.ru> <200202052220.g15MKps32595@greenpeace.grondar.org> <20020205231051.GA9710@nagual.pp.ru> <20020205151540.Z59017@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 05, 2002 at 15:15:40 -0800, Alfred Perlstein wrote: > > > > BTW, to clarify my position: I not insist on using arc4random(), I insist > > on removing random(). You can replace arc4random() with any fastest code > > you wants. > > to address the speed issue you could implement internal functions to > save and restore the random() state. (as I've already suggested) Yes, I agree with this solution, if 3-4 times slowness for 14 calls plays any role. But current variant is not acceptable and must be fixed somehow. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020205231832.GA9856>