Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37A1B10492 for ; Mon, 9 Feb 2015 18:47:45 +0000 (UTC) Received: (qmail 50758 invoked by uid 500); 9 Feb 2015 18:47:44 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 50638 invoked by uid 500); 9 Feb 2015 18:47:44 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 50626 invoked by uid 99); 9 Feb 2015 18:47:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2015 18:47:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [209.85.217.175] (HELO mail-lb0-f175.google.com) (209.85.217.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2015 18:47:39 +0000 Received: by mail-lb0-f175.google.com with SMTP id n10so27264020lbv.6 for ; Mon, 09 Feb 2015 10:46:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=4+I9wDqlkNa5+Byn7mKyOIyACC8gzR0ryaXalyjC1dY=; b=GadG1L9rJpu9EPvlHwQJsWhCbh63JZrcGIn/cFaAK5BTIetslG+jLXIin37a79IRGo ko4V1M8h+NAe7NiyrSXkygdj0/feZ5aewwZqR4FmLLCPgIA176/uErMemHIqIWYkM/Qp p8uY9iU3tLcuhzdAL70ZiM5PF2ySfGjTjuG4wtw+tZ8tnDlOpS5sot7d5lZ/7AaFYTgY g4Vy0AxZTMvA0PXFtuktiuJLy7sGHOiIkiuJujBB8Nc3Zxg+W0zstPixTSg7N6J73OW3 m4agu6oIC8Gj4Rno5ENHIRzZ9OJYCfAGxlq0VyPtfhGpah7IB9Pwoy7V19Q+JoNM2Gl5 2rtA== X-Gm-Message-State: ALoCoQmHUcxjGR6N5Vz8l3Lf29+y39cuaJPzpSlmmy4h3b1D9oqweoTYCtnpgKxfdB+cKvMGgPue X-Received: by 10.112.114.230 with SMTP id jj6mr19111406lbb.112.1423507618195; Mon, 09 Feb 2015 10:46:58 -0800 (PST) MIME-Version: 1.0 Sender: jcarman@carmanconsulting.com Received: by 10.112.151.238 with HTTP; Mon, 9 Feb 2015 10:46:37 -0800 (PST) In-Reply-To: <20150209183337.GA5644@mhcomputing.net> References: <20150206211357.GA802@mhcomputing.net> <54D7357F.7060704@gmx.net> <20150209050710.GA9699@mhcomputing.net> <20150209183337.GA5644@mhcomputing.net> From: James Carman Date: Mon, 9 Feb 2015 13:46:37 -0500 X-Google-Sender-Auth: S6IUmh3Q8Oxcp8f2TQypRJF4mFU Message-ID: Subject: Re: [POOL2] Pooling mutable objects To: Commons Users List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org If you absolutely need a unique identifier, I'd start with UUIDs. If you see them causing you headaches, then look for an alternative, but I've never had the need. On Mon, Feb 9, 2015 at 1:33 PM, Matthew Hall wrote: > On Mon, Feb 09, 2015 at 06:37:32AM -0500, James Carman wrote: >> Premature optimization. UUIDs aren't slow. > > Could be indeed. Depends on the specific use case. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org