Skip to content

Fastest way to write a row to a mutable array? [Question] #237

Answered by 9prady9
BA8F0D39 asked this question in Q&A
Discussion options

You must be logged in to vote

@9prady9
Will assignments be faster for mutable arrays because you are not copying the entire array?

The missing mut qualifier is an issue at rust wrapper not reflecting how the lhs parameter to set_row is handled internally to ArrayFire. Therefore, it is fix at rust wrapper level to an already existing behavior I explained here

Hence, whatever slowness you are observing is not related to this missing mut issue. Have you looked into what I have mentioned here ?

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by 9prady9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #237 on December 09, 2020 05:16.