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

[Enhancement] Using static init map #8328

Open
1 task done
ChineseTony opened this issue Jun 24, 2024 · 0 comments · May be fixed by #8329
Open
1 task done

[Enhancement] Using static init map #8328

ChineseTony opened this issue Jun 24, 2024 · 0 comments · May be fixed by #8329

Comments

@ChineseTony
Copy link
Contributor

ChineseTony commented Jun 24, 2024

Before Creating the Enhancement Request

  • I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary

Using static init map and give the map initialCapacity len decrease resizing map

Motivation

Using static init map can imporve performance, ranther than Using Double Brace Initialization init map

Describe the Solution You'd Like

Using static init map can imporve performance, ranther than Using Double Brace Initialization init map

Describe Alternatives You've Considered

Using static init map can imporve performance, ranther than Using Double Brace Initialization init map

Additional Context

Using static init map can imporve performance, ranther than Using Double Brace Initialization init map

@ChineseTony ChineseTony linked a pull request Jun 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant