From owner-freebsd-current Sat Sep 8 3:39:13 2001 Delivered-To: freebsd-current@freebsd.org Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id CA36F37B408; Sat, 8 Sep 2001 03:39:09 -0700 (PDT) Received: from melusine.cuivre.fr.eu.org (melusine.enst.fr [137.194.160.34]) by melchior.cuivre.fr.eu.org (Postfix) with ESMTP id E1E717C99; Sat, 8 Sep 2001 12:39:07 +0200 (CEST) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id EAB8124D45; Sat, 8 Sep 2001 12:39:06 +0200 (CEST) Date: Sat, 8 Sep 2001 12:39:06 +0200 From: Thomas Quinot To: Nick Hibma Cc: Thomas Quinot , current@FreeBSD.ORG Subject: Re: top(1) takes ages to start up Message-ID: <20010908123906.A44712@melusine.cuivre.fr.eu.org> Reply-To: thomas@cuivre.fr.eu.org References: <20010907163406.A18904@melusine.cuivre.fr.eu.org> <20010908104633.P575-100000@heather.plazza.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20010908104633.P575-100000@heather.plazza.uk>; from n_hibma@FreeBSD.ORG on Sat, Sep 08, 2001 at 10:50:06AM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Le 2001-09-08, Nick Hibma écrivait : > Why don't you add an early-out for namelength => 15 or put the > if-statement in the loop: Well, in my case all usernames are <= 8 characters, so the proposed changes would not prevent a complete walk of the NIS db. Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message