Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap lines order in get_final_and_active_data_entry #3705

Closed
aoudiamoncef opened this issue Mar 21, 2023 · 1 comment
Closed

Swap lines order in get_final_and_active_data_entry #3705

aoudiamoncef opened this issue Mar 21, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@aoudiamoncef
Copy link
Contributor

        let lock = self.execution_state.read();
        let mut result = Vec::with_capacity(input.len());

Swap the order of those 2 lines to minimize lock duration.

Originally posted by @damip in #3489 (comment)

@aoudiamoncef aoudiamoncef added execution enhancement New feature or request labels Mar 21, 2023
@damip
Copy link
Member

damip commented Mar 21, 2023

not urgent, can be done for testnet 21

@AurelienFT AurelienFT self-assigned this Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants