跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 其他计算机科学

arXiv:2601.06349 (cs)
[提交于 2026年1月9日 (v1),最后修订于 2026年8月24日 (此版本, v3)]

标题:Fixing ill-formed UTF-16 strings with SIMD instructions

作者:Robert Clausecker, Daniel Lemire
查看论文《Fixing ill-formed UTF-16 strings with SIMD instructions》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:UTF-16 is a widely used Unicode encoding representing characters with one or two 16-bit code units. The format relies on surrogate pairs to encode characters beyond the Basic Multilingual Plane, requiring a high surrogate followed by a low surrogate. Ill-formed UTF-16 strings -- where surrogates are mismatched -- can arise from data corruption or improper encoding, posing security and reliability risks. Consequently, programming languages such as JavaScript include functions to fix ill-formed UTF-16 strings by replacing mismatched surrogates with the Unicode replacement character (U+FFFD). We propose using Single Instruction, Multiple Data (SIMD) instructions to handle multiple code units in parallel, enabling faster and more efficient execution. Our software is part of the Google JavaScript engine (V8) and thus part of several major Web browsers.
主题: 其他计算机科学 (cs.OH); 性能 (cs.PF)
引用方式: arXiv:2601.06349 [cs.OH]
  (或者 arXiv:2601.06349v3 [cs.OH] 对于此版本)
  https://doi.org/10.48550/arXiv.2601.06349
期刊参考: Software: Practice and Experience 56(12), 2026
相关 DOI: https://doi.org/10.1002/spe.70105

提交历史

来自:Daniel Lemire
[v1] 2026年1月9日 星期五 23:09:42 UTC (61 KB)
[v2] 2026年8月17日 星期一 15:39:40 UTC (84 KB)
[v3] 2026年8月24日 星期一 19:01:05 UTC (84 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.OH
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-08
切换浏览方式为:
cs
cs.PF

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站