Received: from smaug.polygnosis.com ([195.139.160.221]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5QDlka59647 for ; Tue, 26 Jun 2001 09:47:46 -0400 (EDT) (envelope-from gunnar@smaug.polygnosis.com) Received: (from gunnar@localhost) by smaug.polygnosis.com (8.11.0/8.11.0) id f5QDlNw20304; Tue, 26 Jun 2001 15:47:23 +0200 To: Michael Stephenson Cc: "'PostgreSQL jdbc list'" Subject: Re: Re: RE: [ADMIN] High memory usage [PATCH] References: From: Gunnar =?iso-8859-1?q?R=F8nning?= Date: 26 Jun 2001 15:47:23 +0200 In-Reply-To: Message-ID: Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200106/117 X-Sequence-Number: 862 * Michael Stephenson wrote: | | > - Why the ThreadLocal usage, and not just syncronize on the same | > SimpleDateFormat ? | | This won't scale. :o) | Why ? Performance measurements I have seen and also done before has indicated that synchronization is faster than the usage of ThreadLocal. cheers, Gunnar -- Gunnar Rønning - gunnar@polygnosis.com Senior Consultant, Polygnosis AS, http://www.polygnosis.com/