-
-
Notifications
You must be signed in to change notification settings - Fork 757
Closed
Description
Today we using things like extract_serialize to pull out objects MsgPack can't handle and serialize alongside it. In benchmarks we have done our extra handling code takes about 3x more time than MsgPack alone. An interesting idea to follow up on would be to see if we can add an ExtType or something to default encoding/decoding to handle out-of-band buffers and merely track where to insert them later. This would be analogous to how pickle works with out-of-band buffers. Though it may speed up serializing and deserializing by doing fewer passes over the data by leveraging MsgPack's own passes. In theory we could get up to a 4x speed up in serialization by following this strategy.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels