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

[P4Testgen] Replace absl::btree_map with the P4::flat_map implementation #4713

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fruffy
Copy link
Collaborator

@fruffy fruffy commented Jun 6, 2024

The flat map implementation was donated by @asl. It seems a little faster than btree_map.

@fruffy fruffy added the p4tools Topics related to the P4Tools back end label Jun 6, 2024
@fruffy fruffy marked this pull request as draft June 6, 2024 14:05
@asl
Copy link
Contributor

asl commented Jun 6, 2024

@fruffy I think we can jus grab existing ordered_map tests?

@asl
Copy link
Contributor

asl commented Jun 6, 2024

Added few tests and did some fixes here and there

@fruffy fruffy marked this pull request as ready for review October 25, 2024 15:56
@fruffy fruffy changed the title [P4Testgen] Replace boost::container::flat_map with a custom flat_map implementation [P4Testgen] Replace absl::btree_map with a custom flat_map implementation Oct 25, 2024
@fruffy fruffy changed the title [P4Testgen] Replace absl::btree_map with a custom flat_map implementation [P4Testgen] Replace absl::btree_map with a P4::flat_map implementation Oct 25, 2024
@fruffy fruffy changed the title [P4Testgen] Replace absl::btree_map with a P4::flat_map implementation [P4Testgen] Replace absl::btree_map with the P4::flat_map implementation Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p4tools Topics related to the P4Tools back end
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants