hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Unique Id Generation
Date Fri, 24 Apr 2009 17:33:40 GMT
I would expect Ben's method to be slightly faster, but they should be

And, of course you are correct about rewind.  Such are the perils of writing
code in the email program.

On Fri, Apr 24, 2009 at 10:01 AM, Satish Bhatti <cthd2001@gmail.com> wrote:

> ... Your approach appears to be the fastest, so I think I will go with it.
>  By
> the way, it should be buf.rewind() not buf.reset().

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message