Maybe It is some example of NativeBoost
I am sure I see It in some block bost. But dont remember2011/9/23 Mariano Martinez Peck <marianopeck@gmail.com>
On Fri, Sep 23, 2011 at 3:02 PM, Denis Kudriashov <dionisiydk@gmail.com> wrote:Thank you for all your responses. I will use UUID.
Another assumption:
I know there is a trick to get object memory address.
which one?
�Can it be used for object identity? (inside memory of objects)
2011/9/23 Marcus Denker <marcus.denker@inria.fr>Yes, easily, as there are only 12 bits for the hash, there are only 4096 different hash values.
On Sep 23, 2011, at 1:08 PM, Denis Kudriashov wrote:
> Hello,
>
> I use hash message to generate unique object id. (unique between current memory objects).
> And I catch situation when two objects has same hash value. Objects has been created in loop almost at same time.
>
> So my question - is it really possible?
This means that a hash is *not* at all a UUID, and all hashing data structures need to be optimized
for the case of hash collision, as it will happen a lot.
� � � �Marcus
--
Marcus Denker -- http://marcusdenker.de