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

Use float pointers in Cython/C++ binding function #142

Merged
merged 1 commit into from
Oct 16, 2018

Commits on Oct 16, 2018

  1. Use float pointers in Cython/C++ binding function

    Change the Cython/C++ binding function,
    `lineRankOrderFilter1D_floating_inplace`, to accept floating pointers
    instead of memoryviews. This cuts down the code generated in the
    `while`-loop to convert the pointer to a memoryview and in the
    Cython/C++ binding function. Should make it easier for compilers to
    optimize further as the code is basically straight C at this point. Also
    should help speed up the `while`-loop a bit more.
    jakirkham committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    d75510b View commit details
    Browse the repository at this point in the history