issues
search
amazon-ion
/
ion-hash-java
A Java implementation of Amazon Ion Hash.
https://amazon-ion.github.io/ion-hash/
Apache License 2.0
6
stars
9
forks
source link
adds digest cache for symbols, booleans, and nulls
#4
Closed
pbcornell
closed
7 years ago
pbcornell
commented
7 years ago
Includes the following changes:
caches digests of symbols (including fieldNames and annotation symbols), booleans, and nulls
simplifies ScalarHasher api to provide digest
() methods (instead of update
() then digest())
avoids creation of new byte[] for each symbol TQ byte
bug fix: duplicate fields in a struct were being collapsed into single fields while computing hash
Includes the following changes: