计算机科学 > 程序设计语言
[提交于 2023年11月17日]
标题:Parsing Millions of URLs per Second
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:URLs are fundamental elements of web applications. By applying vector algorithms, we built a fast standard-compliant C++ implementation. Our parser uses three times fewer instructions than competing parsers following the WHATWG standard (e.g., Servo's rust-url) and up to eight times fewer instructions than the popular curl parser. The Node.js environment adopted our C++ library. In our tests on realistic data, a recent Node.js version (20.0) with our parser is four to five times faster than the last version with the legacy URL parser.
提交历史
来自:Daniel Lemire[v1] 2023年11月17日 星期五 13:57:25 UTC