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

AVRO-2731: [Java] initialize hashmap with good capacity #2400

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

clesaec
Copy link
Contributor

@clesaec clesaec commented Jul 28, 2023

What is the purpose of the change

AVRO-2731 : On generated record, initialize HashMap with capacity corresponding to size and default load factor; as it is done in guava

Verifying this change

By adding a Map type to full_record_v2.avsc

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (not applicable)

@github-actions github-actions bot added the Java Pull Requests for Java binding label Jul 28, 2023
@dkulp dkulp merged commit 33c763e into apache:master Jul 31, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java Pull Requests for Java binding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants