3 ms·
I think you’re confusing two different senses of “vector”, there is the contiguous series of items “vector” data structure that both C++ and Rust have in their
by steveklabnik 5y ago
I think you’re confusing two different senses of “vector”, there is the contiguous series of items “vector” data structure that both C++ and Rust have in their standard libraries that’s used in the code example, and there’s “vectorizing” which is an optimization to use things like SIMD to operate on multiple things at the same time.
- titzer 5y agoI understood what was meant by these terms.
- steveklabnik 5y agoOkay, then I got lost reading your comment, my apologies.
- titzer 5y agoNo worries. It's too late for me to edit it now, though, but I meant vectorizing="compiler introduces SIMD".