From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23772 invoked by alias); 10 Dec 2007 22:08:05 -0000 Received: (qmail 23763 invoked by uid 22791); 10 Dec 2007 22:08:05 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 10 Dec 2007 22:08:01 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.1) with ESMTP id lBAM7xV9026965 for ; Mon, 10 Dec 2007 17:07:59 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBAM7xSv013124 for ; Mon, 10 Dec 2007 17:07:59 -0500 Received: from [172.16.57.153] (multics.rdu.redhat.com [172.16.57.153]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBAM7weO005773 for ; Mon, 10 Dec 2007 17:07:58 -0500 Subject: Re: Use StringBuilder instead of PrintWriter for type display From: Stan Cox To: Frysk List In-Reply-To: <1197323542.10805.196.camel@multics.rdu.redhat.com> References: <1197063360.10805.165.camel@multics.rdu.redhat.com> <4759D33D.5050206@redhat.com> <4759EB1B.7040007@redhat.com> <1197323542.10805.196.camel@multics.rdu.redhat.com> Content-Type: text/plain Date: Mon, 10 Dec 2007 22:08:00 -0000 Message-Id: <1197323992.10805.201.camel@multics.rdu.redhat.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-4.fc7) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00216.txt.bz2 I forgot to mention the primary difference is that the bottom up approach in some cases (array dcls, ptr to functions) requires a token to be inserted marker (%s) that later needs to be substituted. The top down approach in some cases (parameter lists, struct members) requires a temporary buffer.