[Nepomuk] [RFC] Nepomuk Resource naming convention
Vishesh Handa
me at vhanda.in
Tue Feb 19 16:48:43 UTC 2013
Hey everyone
On Wed, Feb 13, 2013 at 8:30 PM, Matthew Dawson <matthew at mjdsystems.ca>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20130219/59165412/attachment.html>
More information about the Nepomuk
mailing list