Received: from spf1.us4.outblaze.com (spf1.us4.outblaze.com [205.158.62.23]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iABEl2fV000583 for ; Thu, 11 Nov 2004 14:47:02 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf1.us4.outblaze.com (Postfix) with ESMTP id D908654098 for ; Thu, 11 Nov 2004 14:44:48 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSGKJ-0002ml-6i for migo@homemail.com; Thu, 11 Nov 2004 09:53:31 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CSGJQ-0002Xy-Qq for gnu-arch-users@gnu.org; Thu, 11 Nov 2004 09:52:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CSGJP-0002XR-Px for gnu-arch-users@gnu.org; Thu, 11 Nov 2004 09:52:35 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSGJP-0002XH-Mt for gnu-arch-users@gnu.org; Thu, 11 Nov 2004 09:52:35 -0500 Received: from [66.216.124.41] (helo=server4.panoramicfeedback.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CSGAn-0002Bg-Co for gnu-arch-users@gnu.org; Thu, 11 Nov 2004 09:43:41 -0500 Received: from panoramicfeedback.com (server4.panoramicfeedback.com [66.216.124.41]) by server4.panoramicfeedback.com (8.12.3/8.12.3/Debian-6.6) with ESMTP id iABEhKil016965; Thu, 11 Nov 2004 09:43:20 -0500 Message-ID: <41937A88.1010800@panoramicfeedback.com> Date: Thu, 11 Nov 2004 09:43:20 -0500 From: Aaron Bentley User-Agent: Mozilla Thunderbird 0.5 (X11/20040309) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jan Hudec Subject: Re: [Gnu-arch-users] Re: darcs vs tla References: <20041107234609.7bf0abfe@delta.hk.office.outblaze.com> <1099995711.2900.84.camel@stargate> <20041110204049.GD5978@suffields.me.uk> <20041111093245.GY721@vagabond> <20041111135511.GZ721@vagabond> In-Reply-To: <20041111135511.GZ721@vagabond> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Panometrics-MailScanner: Found to be clean Cc: gnu-arch-users@gnu.org, Catalin Marinas X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 1218 Lines: 35 Jan Hudec wrote: > On Thu, Nov 11, 2004 at 11:36:42 +0000, Catalin Marinas wrote: >>C is a language where you might have to implement a lot of things >>yourself. In C++, things are a bit different. You need a list, just >>use the STL or some other template library (Boost). If, after >>profiling your code, you realise that this list is slow you can easily >>change it (providing that you had some rules like using typedefs >>etc.). You might not have this option in a HLL. > > > Replacing eg. STL list with a Boost one rarely wins much. What wins much > is replacing eg. list with a vector -- generaly with a different > structure with more appropriate asymptotic behaviour. Reasonable HLLs > give you this choice. I believe Catalin was contrasting using an existing list from a well-tested library with hand-hacking your own. This is a programmer-time savings, unless the performance of the list is critical to the program. Aaron -- Aaron Bentley Director of Technology Panometrics, Inc. _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/