proxima-platform icon indicating copy to clipboard operation
proxima-platform copied to clipboard

Avoid serialization/deserialization of StreamElement value

Open je-ik opened this issue 3 years ago • 0 comments

Call to

  StreamElement elem = StreamElement.upsert(..., serialized(value));
  Object value = elem.getParsed().get()

causes unnecessary serialization and deserialization of value. We can extend StreamElement.upsert() with the (optional) deserialized object that will be set to parsed cache and prevent deserialization upon retrieval.

je-ik avatar Jun 16 '21 14:06 je-ik