Comments (1)
Optimized base-n codecs
- Base16Codec
- Base32Codec
- Base32HexCodec
- Base32CrockfordCodec
- Base64Codec
- Base64UrlCodec
Optimized other codecs
- StringCodec
- NcnameCodec
- SlugCodec
- UriCodec
Other changes
- Changed BaseN
- Removed BaseNAlphabet
- Changed BaseNEncoder
- Changed BaseNDecoder
- Created immutable CharArray
- Created immutable LongArray
- Added doc/DCE-1.1_RPC_UUID.html
- Updated test cases
Benchmark BEFORE optimization (v3.6.0)
Benchmark Mode Cnt Score Error Units
Throughput.decode_base16 thrpt 5 1329,156 ± 8,629 ops/ms
Throughput.decode_base32 thrpt 5 878,372 ± 16,539 ops/ms
Throughput.decode_base64 thrpt 5 535,601 ± 4,441 ops/ms
Throughput.encode_base16 thrpt 5 16135,294 ± 121,771 ops/ms
Throughput.encode_base32 thrpt 5 17459,509 ± 113,893 ops/ms
Throughput.encode_base64 thrpt 5 19427,255 ± 277,149 ops/ms
Benchmark Mode Cnt Score Error Units
Throughput.decode_ncname thrpt 5 515,425 ± 4,243 ops/ms
Throughput.decode_slug thrpt 5 531,003 ± 4,578 ops/ms
Throughput.decode_string thrpt 5 10349,750 ± 152,409 ops/ms
Throughput.decode_uri thrpt 5 8032,257 ± 56,649 ops/ms
Throughput.encode_ncname thrpt 5 9666,939 ± 202,229 ops/ms
Throughput.encode_slug thrpt 5 17833,465 ± 501,165 ops/ms
Throughput.encode_string thrpt 5 21366,046 ± 216,510 ops/ms
Throughput.encode_uri thrpt 5 2864,692 ± 37,637 ops/ms
Benchmark AFTER optimization (> v3.6.0)
Benchmark Mode Cnt Score Error Units
Throughput.decode_base16 thrpt 5 3222,914 ± 33,809 ops/ms
Throughput.decode_base32 thrpt 5 2537,134 ± 47,252 ops/ms
Throughput.decode_base64 thrpt 5 1758,213 ± 16,912 ops/ms
Throughput.encode_base16 thrpt 5 18551,661 ± 429,523 ops/ms
Throughput.encode_base32 thrpt 5 19522,694 ± 260,718 ops/ms
Throughput.encode_base64 thrpt 5 22156,893 ± 219,649 ops/ms
Benchmark Mode Cnt Score Error Units
Throughput.decode_ncname thrpt 5 1703,910 ± 6,322 ops/ms
Throughput.decode_slug thrpt 5 1603,126 ± 20,051 ops/ms
Throughput.decode_string thrpt 5 10377,743 ± 86,326 ops/ms
Throughput.decode_uri thrpt 5 7954,467 ± 83,632 ops/ms
Throughput.encode_ncname thrpt 5 7076,385 ± 79,923 ops/ms
Throughput.encode_slug thrpt 5 19747,374 ± 194,295 ops/ms
Throughput.encode_string thrpt 5 21746,800 ± 268,137 ops/ms
Throughput.encode_uri thrpt 5 2934,557 ± 36,493 ops/ms
from uuid-creator.
Related Issues (20)
- Fast version of UUID v7 HOT 3
- UriCodec.isUuidUrn(java.net.URI uri) HOT 3
- IETF Draft Update 4 HOT 2
- Version 5.0.0 HOT 1
- TimeOrdered UUID creator generate out-of-order values HOT 4
- Add support for RandomGenerator in Java 17 HOT 2
- Optimize UuidComparator HOT 2
- Doc bug HOT 6
- Rewrite docs HOT 1
- Add a fast method to generate random-based identifiers HOT 1
- Fix MAX UUID HOT 1
- Dates before the Epoch should not be supported HOT 2
- Add a MIN and MAX methods HOT 1
- Add an alternative to the JDK's built-in UUID HOT 1
- Hide MSB and LSB methods used only for tests HOT 1
- Remove the GUID.get() method, synonymous with GUID.toUUID() HOT 1
- Add a faster parser for GUID HOT 2
- Add a getTimeOrderedEpoch with instant parameter HOT 5
- Deprecation of name-based methods with a UUID name parameter HOT 3
- Replacing all synchronized methods with ReentrantLock HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uuid-creator.