Skip to content

Why choose to not use numpy? #4

@jonasvdd

Description

@jonasvdd

Hi really cool repo 🚀

I am 100% sure that this this code can be significantly sped up by using numpy vectorisation.

I was able to write a pure numpy-python implementation which could downsample 50,000,000->2,000 data points in ~300ms (on a consumer pc).

If interested; I can quickly make a PR where I put the numpy-python version of that algorithm next to yours.

Cheers,
Jonas

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