Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Improve SortContent performance on large contracts (#538)
Whenever `order_verifiable_content` was called on `interactions` or `messages` each item was serialized to json multiple times. WIth `sort_by` each iteam is serialized once. Flamegraph shows that this change intoduce a drop of SortContent#call percentage in PactContentDiff.to_text call from 30% to 17%.
- Loading branch information