altoo-ag / akka-kryo-serialization

Kryo-based serialization for Akka
Apache License 2.0
241 stars 73 forks source link

Serialize actor refs with `writeAscii` #251

Closed armanbilge closed 3 years ago

armanbilge commented 3 years ago

A small optimization: ActorRefs are pure ASCII so can be serialized with Kryo's optimized writeAscii method. Note that readString is still used for deserialization so this change is non-breaking/backwards compatible.

nvollmar commented 3 years ago

Thanks for the contribution.