Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.programmer Subject: Re: single instance Date: Wed, 16 Jan 2013 23:44:57 -0800 Organization: Canadian Mind Products Lines: 23 Message-ID: <1qaff8p3p38ts67fjk5en8bu94cee1hgi7@4ax.com> References: <50e8eb1f$0$284$14726298@news.sunsite.dk> <1i1ry0rsgaxnm$.blszeyxb737b$.dlg@40tude.net> <9g02074ucl0a.1pdynjyqd1bgs$.dlg@40tude.net> Reply-To: Roedy Green NNTP-Posting-Host: K2Qzzs3EAqXk5RLzfhxcSw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: csiph.com comp.lang.java.programmer:21469 On Wed, 16 Jan 2013 16:53:46 -0800, Peter Duniho wrote, quoted or indirectly quoted someone who said : >No, it's not. If you have a UUID larger than 16 bits, then any "16-bit >shorthand" is necessarily non-unique for all possible UUIDs, and is thus a >hash code. The 16 bit code is assigned only for a short time, then they can be recycled for use by a different UUID. Unless a UUID is in use on a particular machine it does not have a 16 bit assignment. 16 bits are plenty for IN USE UUIDs on one machine. I am not suggesting UUIDs get assigned universally to a 16 bit id, e.g. being assigned a permanent well known port number. That would fail in minutes. -- Roedy Green Canadian Mind Products http://mindprod.com The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time. ~ Tom Cargill Ninety-ninety Law