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

Replace uses of boost flat_map and flat_set with robin_map and robin_set #4191

Merged

Conversation

fpsunflower
Copy link
Contributor

Description

A tiny bit more progress towards #4158.

None of the code was actually dependent on the fact that these containers are sorted by key. Switching to the robin containers instead removes one less use of boost in the project.

Tests

It passes the tests that I can run locally -- will be looking at the actual CI results to confirm everything passes, since I can't get all tests to pass locally (even without this change).

Checklist:

  • I have read the contribution guidelines.
  • I have updated the documentation, if applicable.
  • I have ensured that the change is tested somewhere in the testsuite
    (adding new test cases if necessary).
  • If I added or modified a C++ API call, I have also amended the
    corresponding Python bindings (and if altering ImageBufAlgo functions, also
    exposed the new functionality as oiiotool options).
  • My code follows the prevailing code style of this project. If I haven't
    already run clang-format before submitting, I definitely will look at the CI
    test that runs clang-format and fix anything that it highlights as being
    nonconforming.

Copy link

linux-foundation-easycla bot commented Mar 17, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: fpsunflower / name: Christopher Kulla (f35f7be)

@fpsunflower fpsunflower force-pushed the remove_boost_containers branch 2 times, most recently from 3359074 to 9d32687 Compare March 17, 2024 23:34
@lgritz
Copy link
Collaborator

lgritz commented Mar 17, 2024

Holy cow, would you believe I had just sat down to start working on this very problem, with the same solution of just using robin_map and robin_set? But had only gotten like 10 minutes into it.

Copy link
Collaborator

@lgritz lgritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Just need the CLA

@fpsunflower
Copy link
Contributor Author

👍🏻 I'll take care of the CLA on Monday.

@lgritz
Copy link
Collaborator

lgritz commented Mar 19, 2024

Any progress?

@fpsunflower
Copy link
Contributor Author

Its been signed -- we're working on getting it ingested into the EasyCLA system ...

@fpsunflower
Copy link
Contributor Author

The celestial bodies have aligned and CLA has been taken care of :)

I will rebase now.

None of the code was actually dependent on the fact that these containers are sorted by key. Switching to the robin containers instead removes one less use of boost in the project.

Signed-off-by: Chris Kulla <ckulla@gmail.com>
@lgritz
Copy link
Collaborator

lgritz commented Apr 9, 2024

Now we know an eclipse was a necessary ingredient for the CLA Gods.

@lgritz lgritz merged commit 5472c84 into AcademySoftwareFoundation:master Apr 10, 2024
23 of 24 checks passed
lgritz pushed a commit to lgritz/OpenImageIO that referenced this pull request Apr 13, 2024
…set (AcademySoftwareFoundation#4191)

A tiny bit more progress towards AcademySoftwareFoundation#4158.

None of the code was actually dependent on the fact that these
containers are sorted by key. Switching to the robin containers instead
removes one less use of boost in the project.

Signed-off-by: Chris Kulla <ckulla@gmail.com>
@fpsunflower fpsunflower deleted the remove_boost_containers branch April 28, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants