If the objectFromByteBuffer takes similar amount of time as objectToByteBuffer then it's not worse then it was previously or what it is (now) for memcached.

Other way could be implementing a method on the marshaller which would tell us if the object is already marshalled. Didn't have time to think about yet another solution.