Why do valarray see so little use?

Revision en1, by Paradocx, 2024-02-27 12:37:11

It seems that Valarrays should be quite useful in some problems due to the fact you can do entire operations on it in a single line. From what I've researched, while it is not optimized specially be any compiler, there is still no reason for it to be slower than a vector.

What are its downsides that seem to outweigh the convenience it provides?


  Rev. Lang. By When Δ Comment
en1 English Paradocx 2024-02-27 12:37:11 438 Initial revision (published)