arXiv Open Access 2021

An Analysis into the Performance and Memory Usage of MATLAB Strings

Travis Near
Lihat Sumber

Abstrak

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.

Topik & Kata Kunci

Penulis (1)

T

Travis Near

Format Sitasi

Near, T. (2021). An Analysis into the Performance and Memory Usage of MATLAB Strings. https://arxiv.org/abs/2109.12567

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2021
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓