You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.
I was wondering if the fact that QDigest does not implement neither Serializable nor Externalizable is intentional?
I'm afraid it prevents QDigest from being serialized using ObjectOutputStream, which could be very useful (and for better or worse is still a quite common way to serialize stuff).
Unless I'm missing something, it would be pretty straight forward to fix, since QDigest already provides a serialize and deserialize methods, they just need to be exposed as part of the standard Java serialization interfaces.
What do you think?
It it makes sense, I'd be more than willing to create a pull request.
-Stas
The text was updated successfully, but these errors were encountered:
Can't think of any intentional reason other than possibly reducing code noise. It seems reasonable to add and shouldn't cause any backwards compatibility issues that I can think of.
I know we've done the same for other data structures before as needed.
Our QDigest implementation has fallen behind latest implementations
available. Doesn't necessarily need to be added to this ticket but we
should look into updating our implementation to match best available.
On Tue, Jan 26, 2016 at 6:54 PM Ian Barfield [email protected]
wrote:
Can't think of any intentional reason other than possibly reducing code
noise. It seems reasonable to add and shouldn't cause any backwards
compatibility issues that I can think of.
I know we've done the same for other data structures before as needed.
—
Reply to this email directly or view it on GitHub #102 (comment).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi guys,
I was wondering if the fact that
QDigest
does not implement neitherSerializable
norExternalizable
is intentional?I'm afraid it prevents
QDigest
from being serialized usingObjectOutputStream
, which could be very useful (and for better or worse is still a quite common way to serialize stuff).Unless I'm missing something, it would be pretty straight forward to fix, since
QDigest
already provides aserialize
anddeserialize
methods, they just need to be exposed as part of the standard Java serialization interfaces.What do you think?
It it makes sense, I'd be more than willing to create a pull request.
-Stas
The text was updated successfully, but these errors were encountered: