mathnet-spatial icon indicating copy to clipboard operation
mathnet-spatial copied to clipboard

Consider to use Microsoft.Bcl.Simd internally

Open cdrnet opened this issue 10 years ago • 4 comments

See:

Maybe it makes sense to use their fixed-sized vectors, maybe not.

(low priority)

cdrnet avatar Jun 30 '14 19:06 cdrnet

They are Win 8.1 right? If so are they worth it?

JohanLarsson avatar Jul 02 '14 21:07 JohanLarsson

Yes, and it requires installing previews and enabling them by registry settings. I expect the SIMD vectors work on the current platform as well, but of course not vectorized and without leveraging the SIMD instruction sets - but I have not actually verified that assumption.

It may make a big difference in the future performance wise. Maybe we could do some experiments in a branch with some benchmarking. Only a significant speed-up would justify using them though, in my opinion. But as long as we do not make design changes that would make it very difficult to use them efficiently in the future we can also delay that until the library has stabilized.

cdrnet avatar Jul 02 '14 23:07 cdrnet

Just to clarify, I'm happy with the current very direct struct + public readonly fields approach. I do not suggest to change them.

cdrnet avatar Jul 03 '14 00:07 cdrnet

Ok, a branch sounds good, would be interesting to play around with it if nothing else.

JohanLarsson avatar Jul 03 '14 08:07 JohanLarsson

Not relevant anymore. Microsoft.Bcl.Simd does not exist anymore, and the latest update was on 11.04.2014

jkalias avatar Mar 31 '23 12:03 jkalias