in the newly added attribute version in GEDLIB, Eigen C++ library is used to represent the arrays and operate them. Currently, gedlibpy converts Python list or np array first to a c++ std vector of doubles, Then it is converted to Eigen Vector. However, it seems that it's possible to convert np arrays directly to Eigen vector using Cython, They may even share the same memory without copying anything. There are also some Python API for Eigen library, so it's also possible to use this in Python directly.
in the newly added attribute version in GEDLIB, Eigen C++ library is used to represent the arrays and operate them. Currently, gedlibpy converts Python list or np array first to a c++ std vector of doubles, Then it is converted to Eigen Vector. However, it seems that it's possible to convert np arrays directly to Eigen vector using Cython, They may even share the same memory without copying anything. There are also some Python API for Eigen library, so it's also possible to use this in Python directly.