tisonkun commented on code in PR #84:
URL: https://github.com/apache/datasketches-rust/pull/84#discussion_r2766841903


##########
datasketches/src/hash/mod.rs:
##########
@@ -37,6 +37,19 @@ pub(crate) use self::xxhash::XxHash64;
 /// a history of stored sketches you are stuck with it.
 pub(crate) const DEFAULT_UPDATE_SEED: u64 = 9001;
 
+/// Computes and checks the 16-bit seed hash from the given long seed.
+///
+/// The seed hash may not be zero in order to maintain compatibility with 
older serialized
+/// versions that did not have this concept.

Review Comment:
   BTW this comment is copied from `computeSeedHash`'s Java version.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to