Hey everyone

On Wed, Feb 13, 2013 at 8:30 PM, Matthew Dawson <[email protected]>wrote:

> .Especially since you remarked a duplicate is not a big deal, yes you
> should be
> fine.  For quick reference of the probabilities, Wikipedia offers:
>
> http://en.wikipedia.org/wiki/Universally_unique_identifier#Random_UUID_probability_of_duplicates
>
>
Considering the probability of hitting a duplicate is so low. I'm going to
be removing the check in master.

Unless someone objects?

Very simple benchmarks reveal that the time spent creating a resource drops
from 8 msecs to 4-5sec, when one removes the check. And this is with an
empty database. On a production system, with a large database, the
difference would be a lot greater.


-- 
Vishesh Handa
_______________________________________________
Nepomuk mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/nepomuk

Reply via email to