fast-uuid-parser

A UUID string parser that is 4 times faster than java.util.UUID.fromString()

License

License

GroupId

GroupId

org.komamitsu
ArtifactId

ArtifactId

fast-uuid-parser
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

fast-uuid-parser
A UUID string parser that is 4 times faster than java.util.UUID.fromString()
Project URL

Project URL

https://github.com/komamitsu/fast-uuid-parser
Source Code Management

Source Code Management

https://github.com/komamitsu/fast-uuid-parser

Download fast-uuid-parser

How to add to project

<!-- https://jarcasting.com/artifacts/org.komamitsu/fast-uuid-parser/ -->
<dependency>
    <groupId>org.komamitsu</groupId>
    <artifactId>fast-uuid-parser</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.komamitsu/fast-uuid-parser/
implementation 'org.komamitsu:fast-uuid-parser:1.1.0'
// https://jarcasting.com/artifacts/org.komamitsu/fast-uuid-parser/
implementation ("org.komamitsu:fast-uuid-parser:1.1.0")
'org.komamitsu:fast-uuid-parser:jar:1.1.0'
<dependency org="org.komamitsu" name="fast-uuid-parser" rev="1.1.0">
  <artifact name="fast-uuid-parser" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.komamitsu', module='fast-uuid-parser', version='1.1.0')
)
libraryDependencies += "org.komamitsu" % "fast-uuid-parser" % "1.1.0"
[org.komamitsu/fast-uuid-parser "1.1.0"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Fast-UUID-Parser

Coverage Status

A UUID string parser that is 5.5 times faster than java.util.UUID.fromString().

Benchmark                            Mode  Cnt      Score    Error   Units
FastUuidParserBenchmark.fromString  thrpt   20  13001.895 ± 12.659  ops/ms
NormalUUIDBenchmark.fromString      thrpt   20   2363.129 ± 31.584  ops/ms

Usage

You can use FastUuidParser.fromString() like java.util.UUID.fromString().

UUID uuid = FastUuidParser.fromString("81c578f9-5e6d-4d78-8729-f32acefc144b");

Versions

Version
1.1.0
1.0.0