Commit Graph

11 Commits

Author SHA1 Message Date
Fabio Lima 41c15148d3 Add a MIN and MAX constants and methods #26 2023-04-25 23:30:07 -03:00
Fabio Lima ebc145f52a Add a fast method to generate identifiers #22 2022-10-22 15:02:37 -03:00
Fabio Lima fbe1338ce9 Rewrite docs #21 2022-09-17 09:56:07 -03:00
Fabio Lima 3f56210b53 Optimize comparison and hash #20 2022-08-21 07:24:10 -03:00
Fabio Lima ced08d1a55 Compare internal fields as unsigned integers #17 2021-11-06 10:06:14 -03:00
Fabio Lima 7b4abe0f9c Merge branch 'master' of https://github.com/f4b6a3/ulid-creator 2021-10-03 23:11:26 -03:00
Fabio Lima e83a2fcf82 regular maintenance
Improve code quality after Codacy.com analysis.

Site: https://app.codacy.com
2021-10-02 09:31:19 -03:00
Fabio Lima 559a4a5259
Create file 'benchmark/run.bat' 2021-09-18 03:00:50 -03:00
Fabio Lima f13a0c23ed
Update README.md 2021-09-18 02:59:58 -03:00
Fabio Lima 27a4f60cb5 Version 4.0.0 #15
Now you call `UlidFactory.newInstance()` and it's variants to get a new
`UlidFactory`.

List of changes:

- Added `UlidFactory.newInstance()`
- Added `UlidFactory.newInstance(Random)`
- Added `UlidFactory.newInstance(Supplier<byte[]>)`
- Added `UlidFactory.newMonotonicInstance()`
- Added `UlidFactory.newMonotonicInstance(Random)`
- Added `UlidFactory.newMonotonicInstance(Supplier<byte[]>)`
- Added benchmark code to compare ULID with UUID
- Removed `DefaultFactory`
- Removed `MonotonicFactory`
- Removed `Ulid.toUpperCase()`
- Removed `RandomGenerator`
2021-08-08 01:35:40 -03:00
Fabio Lima cd849c4e21 Add benchmark code to compare ULID with UUID #14
The benchmark code was created in the direcory `benchmark`.

To execute the benchmark, run the script `./benchmark/run.sh`.

Sorry, there is no `run.bat` file for Windows.
2021-07-25 17:55:29 -03:00