计算机科学 > 性能
[提交于 2021年9月26日]
标题:An Analysis into the Performance and Memory Usage of MATLAB Strings
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:MATLAB is a mathematical computing environment used by many engineers, mathematicians, and students to process and understand their data. Important to all data science is the managing of textual data. MATLAB supports two textual data containers: (1) cell arrays of characters and (2) string arrays. This research showcases the strengths of string arrays over cell arrays by quantifying their performance, memory contiguity, syntax readability, interface fluidity, and autocomplete capabilities. These results demonstrate that string arrays often run 2x to 40x faster than cell arrays for common string benchmarks, are optimized for data locality by reducing metadata overhead, and offer a more expressive syntax due to their automatic data type conversions and vectorized methods.
提交历史
来自:Travis Near[v1] 2021年9月26日 星期日 11:35:39 UTC