You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rafael H. Schloming (JIRA)" <qp...@incubator.apache.org> on 2008/08/06 19:18:44 UTC
[jira] Created: (QPID-1221) UUID.randomUUID() is really slow
UUID.randomUUID() is really slow
--------------------------------
Key: QPID-1221
URL: https://issues.apache.org/jira/browse/QPID-1221
Project: Qpid
Issue Type: Bug
Components: Java Client
Affects Versions: M3
Reporter: Rafael H. Schloming
Assignee: Rafael H. Schloming
UUID.randomUUID() is really slow, it's much faster to generate a single namespace UUID with randomUUID() and use that + a counter with UUID.nameUUIDFromBytes(byte[] name).
Because the uniqueness properties of this other scheme might be different, we should have the uuid generation strategy be configurable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (QPID-1221) UUID.randomUUID() is really slow
Posted by "Rafael H. Schloming (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rafael H. Schloming resolved QPID-1221.
---------------------------------------
Resolution: Fixed
Fix Version/s: M3
> UUID.randomUUID() is really slow
> --------------------------------
>
> Key: QPID-1221
> URL: https://issues.apache.org/jira/browse/QPID-1221
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M3
> Reporter: Rafael H. Schloming
> Assignee: Rafael H. Schloming
> Fix For: M3
>
>
> UUID.randomUUID() is really slow, it's much faster to generate a single namespace UUID with randomUUID() and use that + a counter with UUID.nameUUIDFromBytes(byte[] name).
> Because the uniqueness properties of this other scheme might be different, we should have the uuid generation strategy be configurable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.