Skip to content

Change nla() to reduce allocations #120

@MartinuzziFrancesco

Description

@MartinuzziFrancesco

At the moment the nla() function takes an array as input and returns the modified array as output, but this creates a lot of allocations inside for loops. The new function call nla!() should take in the array to be modified and a preallocated array to store the modified array in. This should remove unneeded allocations and speed up computations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions