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

[Enhancement] SumS (etc) to work on List<T> please #19

Closed
Smurf-IV opened this issue Jul 25, 2019 · 2 comments
Closed

[Enhancement] SumS (etc) to work on List<T> please #19

Smurf-IV opened this issue Jul 25, 2019 · 2 comments

Comments

@Smurf-IV
Copy link

No description provided.

@jackmott
Copy link
Owner

jackmott commented Jul 25, 2019

it isn’t possible without extremely unsafe code. to expand on this, you can get at the array inside of the List using some hacks, but it isn't guaranteed to work on all implementations of .NET, or future implementations. If you really need growable array behavior with simd features, best thing to do is just copy the source to List, and make the array public.

@Smurf-IV
Copy link
Author

Smurf-IV commented Aug 6, 2019

Duplicate of #15

@Smurf-IV Smurf-IV closed this as completed Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants