vectors of vectors of vectors -> HOW ? #523
Unanswered
petrasvestartas
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
I need to pass from python to C++ a list of Polylines:
Question
Is there any way to this efficiently?
I was doing this similarly on pybind11 and it was slow for big collections...
Is there a way to represent this in array or eigen matrices for a better efficiency when you have hundreds of polylines?
Example
C++
Python
I also did this and I see the code becomes very repetitive, why there is no way to use templates inside the main NB_Module method?
Beta Was this translation helpful? Give feedback.
All reactions