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

use Vec::with_capacity avoid realloc #883

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

nkysggsy
Copy link
Contributor

@nkysggsy nkysggsy commented Dec 22, 2024

[Link to related issue(s) here, if any]

[Short description of the changes.]
use Vec::with_capacity avoid realloc

Checklist

  • Breaking changes are clearly marked as such in the PR description and changelog
  • New behavior is reflected in tests
  • If performance characteristic of an instruction change, update gas costs as well or make a follow-up PR for that
  • The specification matches the implemented behavior (link update PR if changes are needed)

Before requesting review

  • I have reviewed the code myself
  • I have created follow-up issues caused by this PR and linked them here

After merging, notify other teams

[Add or remove entries as needed]

@fuel-cla-bot
Copy link

fuel-cla-bot bot commented Dec 22, 2024

Thanks for the contribution! Before we can merge this, we need @nkysggsy to sign the Fuel Labs Contributor License Agreement.

@nkysggsy nkysggsy force-pushed the use_vec_with_capacity branch from 43fc8b3 to b2a1441 Compare December 22, 2024 06:31
@xgreenx xgreenx added the no changelog Skips the CI changelog check label Feb 21, 2025
@xgreenx xgreenx added this pull request to the merge queue Feb 21, 2025
Merged via the queue into FuelLabs:master with commit d103746 Feb 21, 2025
40 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:signed no changelog Skips the CI changelog check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants