Simplest possible current op-list-to-diff converter. Acquires a lock when deserializing an op list and releases it when done
- This is not able to interrupt the deserialization thread to exchange diffs, which could increase latency when under heavy load. If this presents a problem it could be improved with either a more complicated lock or a lock free approach. Similarly if part of a critical section is received regularly the diffs may often not be possible to exchange, increasing latency. To solve this we could buffer critical sections into an intermediate object and then move them to the main diff. However this case is unlikely and the overhead associated with fixing it may be undesirable.