tisonkun commented on issue #89:
URL: 
https://github.com/apache/datasketches-rust/issues/89#issuecomment-3883373028

   > Java is correct. Max array length in Java is 2^32-1, the longest 
contiguous array is of primitive longs, and there’s a little room taken for the 
preamble in the actual serialized sketch.
   
   @jmalkin Thanks for your information!
   
   > C++ has the byte count, not bit count.
   
   I can see the variable names are `num_filter_bits` and 
`MAX_FILTER_SIZE_BITS`. Does it mean the C++ limit is 8x less than Java's?
   
   (However, since in the real world few people would create a filter at that 
size, it wasn't a real problem in recent years. But I'd like to keep all impls 
as similar as possible to reduce unnecessary unalignments.)
   


-- 
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