Skip to content

Add a cython interface #636

@JasmineTC

Description

@JasmineTC

Hi,

Would it be possible to add cython support by letting us import the underlying C code from a python installation. Scipy offers something similar with it's scipy.linalg.cython_lapack which gives the user access to lapack routines without any python overhead (or safety checking) as compared to scipy.linalg.lapack. On a project I am working on we estimate this overhead to be upwards of 10% of runtime and limiting us in making further optimisations.

It is kind of possible to link the NLOPT header file from cython. But this is a massive headache as it depends on how NLOPT was installed and I think on the users OS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions