Skip to content

What is the fastest way to transform a 1 dimensional #535

@sambaPython24

Description

@sambaPython24

Hey, given a large 1-dimensional numpy array, e.g.

import numpy as np
dim = 1000000
A = np.random.randn(dim)

what is the fastest way to convert it into a Rust Vector of e.g. $Vec$.
Rust is allowed to take ownership of the vector.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions