SpacetimeDB
SpacetimeDB copied to clipboard
Perf: Improve merge operation when committing or downgrading a tx
Performance profiling shows that CommittedState::merge contributes a significant portion of time to a transaction, and importantly this is time spent holding the tx lock. According to @Centril we can remove a lot of needless overhead in this method converting to/from product values.