Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Avoid schedule copying in nested call/create #9190

Merged
merged 5 commits into from
Jul 23, 2018
Merged

Conversation

sorpaas
Copy link
Collaborator

@sorpaas sorpaas commented Jul 22, 2018

Partially related to #6744

Currently we generate a Schedule struct for every Executive. This means this data is copied for every depth in the call. This PR changes Schedule to be taken into Executive by reference, thus avoiding copying.

@sorpaas sorpaas added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Jul 22, 2018
@sorpaas sorpaas added this to the 2.1 milestone Jul 22, 2018
@debris debris added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jul 23, 2018
@tomusdrw tomusdrw merged commit 4848c38 into master Jul 23, 2018
@tomusdrw tomusdrw deleted the sp-schedule-copy branch July 23, 2018 13:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants