Collection serializers

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Collection serializers

Stephan Ewen
I was wondering whether we should add dedicated collection serializers to
the Java API, similar as the scala API has them.

The advantage would be not to depend on kryo for that. Kryo becomes quite
inefficient when it does not know the element data type (the user did not
register it), and we can devise a better collection serializer with our
type analysis.

For kryo anyways, we should make sure we automatically register all types
found through our type analysis.
Reply | Threaded
Open this post in threaded view
|

Re: Collection serializers

Márton Balassi
+1, it would be useful for a number of use cases.

On Mon, Nov 10, 2014 at 10:31 AM, Stephan Ewen <[hidden email]> wrote:

> I was wondering whether we should add dedicated collection serializers to
> the Java API, similar as the scala API has them.
>
> The advantage would be not to depend on kryo for that. Kryo becomes quite
> inefficient when it does not know the element data type (the user did not
> register it), and we can devise a better collection serializer with our
> type analysis.
>
> For kryo anyways, we should make sure we automatically register all types
> found through our type analysis.
>