And provide overloads for certain functions that return a list of PeptideIdentifications to return this Wrapper instead.
Avoids copying everything, allows us to provide convenience functions (toNDArray, toArrow) and iteration will be much much faster than in python.
Start on a Cython templated wrapper for general vectors there wraps the iter function and constructors. (Check if this already exists).
Then create a class that inherits from VectorWrapper[PeptideIdentification] with some specific cython and/or python functions.
And provide overloads for certain functions that return a list of PeptideIdentifications to return this Wrapper instead. Avoids copying everything, allows us to provide convenience functions (toNDArray, toArrow) and iteration will be much much faster than in python. Start on a Cython templated wrapper for general vectors there wraps the iter function and constructors. (Check if this already exists). Then create a class that inherits from VectorWrapper[PeptideIdentification] with some specific cython and/or python functions.