From owner-freebsd-chat@FreeBSD.ORG Sat Mar 6 02:28:27 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E02F716A4CE for ; Sat, 6 Mar 2004 02:28:27 -0800 (PST) Received: from lilzmailso02.liwest.at (lilzmailso02.liwest.at [212.33.55.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7900443D2F for ; Sat, 6 Mar 2004 02:28:27 -0800 (PST) (envelope-from dgw@liwest.at) Received: from cm58-27.liwest.at ([212.33.58.27]) by lilzmailso02.liwest.at with esmtp (Exim 4.24) id 1AzZ2f-00005M-UC; Sat, 06 Mar 2004 11:28:26 +0100 From: Daniela To: Rahul Siddharthan Date: Sat, 6 Mar 2004 11:23:09 +0000 User-Agent: KMail/1.5.3 References: <20040306012556.GA2554@online.fr> <200403060245.05790.dgw@liwest.at> <1078538135.40492f9742e70@imp4-q.free.fr> In-Reply-To: <1078538135.40492f9742e70@imp4-q.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403061123.09764.dgw@liwest.at> cc: chat@freebsd.org Subject: Re: FreeBSD Most wanted X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2004 10:28:28 -0000 On Saturday 06 March 2004 01:55, Rahul Siddharthan wrote: > Daniela wrote: > > I like doing AI programming, that's numbercrunching most of the time. > > > > A compiler can't, for example, know whether you need to have zero > > returned from the atoi() function when the user entered nonsense. If you > > don't need to check whether the user has entered a valid number, you can > > do it *much* faster. > > Excellent example. Here you're limited by the speed of the fingers of > the user who's entering the data, so there's *absolutely no point* in > optimising the atoi() function in this way. (Or if you're reading from > the disk, the disk I/O will be the bottleneck, though it's admittedly > faster than fingers.) I mean, it could be read from anywhere. A pipe, memory, cache, ...