leerho commented on issue #89: URL: https://github.com/apache/datasketches-rust/issues/89#issuecomment-3887291125
> 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. > > C++ has the byte count, not bit count. I dunno the others. **NIT:** Max array length in Java is 2^31 - 1 :) This assumes that the BloomFilter is serialized using _toLongArray()_. Attempting to serialize a filter this large will throw an exception if using _toByteArray()_. -- 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]
