如何理解软件开发中的"Vectorization"概念

在 Bing.com runs on .NET Core 2.1 这篇英文博文中提到了 Vectorization :

Vectorization of string.Equals

Vectorization of these operations is the single biggest contributor to the performance improvement we’ve measured.

请问如何理解 Vectorization ?


料青山看我应如是
浏览 771回答 1
1回答

慕姐4208626

Vectorization may refer to:Array programming, a style of computer programming where operations are applied to whole arrays instead of individual elementsAutomatic vectorization, a compiler optimization that transforms loops to vector operations我猜是类似于 Python /R 里面的数组操作,微软的习惯反正是先写出来能用,然后再抽空找时间优化性能。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python