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

Copies and different orders in std::set #142

Open
sjunges opened this issue Nov 24, 2023 · 0 comments
Open

Copies and different orders in std::set #142

sjunges opened this issue Nov 24, 2023 · 0 comments

Comments

@sjunges
Copy link
Contributor

sjunges commented Nov 24, 2023

We bind quite some vectors and sets, which are currently copied explicitly every time, see https://pybind11.readthedocs.io/en/stable/advanced/cast/stl.html.

It may be good to think about this.

Another problem is that for sets, the c++ version and the python version of sets are ordered differently, and that in particular python sets are not ordered consistently between different runs.

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

No branches or pull requests

1 participant