Avoid Serialization and Deserialization

Serialization and deserialization of objects is a CPU-intensive procedure
and is likely to slow down your application. Use the transient keyword to
reduce the amount of data serialized. Additionally, customized readObject() and writeObject() methods may be beneficial
in some cases.