Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/18343
  
    I ran a local test and a `Map[Int, Byte]` with 2000 elements serialized 
with Kryo ends up at a little less than 14kB. That would be `4 + 4 * 2000 + 1 * 
2000 = 9004B` using the custom serialization. That's better, but given both 
numbers are pretty small anyway, just removing the transient looks ok. If it 
becomes an issue in the future it's pretty easy to add the Kryo interface to 
the mix.
    
    LGTM.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to