`
Rukawa
  • 浏览: 2179 次
  • 性别: Icon_minigender_1
  • 来自: 天津
最近访客 更多访客>>
社区版块
存档分类
最新评论

Improve the Performance of Serialization

    博客分类:
  • java
阅读更多
These days, we've happened to fullfill a task that convert complex entity objects to byte arrays. Naturally, the interface serializable has come into my brain at once.

However, the performance became a main issue - it's too slow. An article came to an help, which suggests a substitution, Externalizable, for Serializable. By which the performance was twice as efficient as the original design.

But this still not meet the requirement. The final way is to utilize an anti-object-oriented programming pattern - just use byte array to store data.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics