TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Improving Parser Performance Using SSE Instructions

38 点作者 kazuho超过 10 年前

5 条评论

rurban超过 10 年前
Using SSE4.2 or more is trivial. Same goes for fast hashes with the crc32 intrinsic. Mostly the compiler does it for you (-march=native)<p>But you cannot assume everybody has such a CPU. Hence you&#x27;d either need to compile your own (a la macports, gentoo, perl, ...) or do run-time checks for the CPU feature and switch to the fast version then.
yuhong超过 10 年前
I wonder if there is any HTML parsers that use SSE4.2 instructions
评论 #8683733 未加载
bmm6o超过 10 年前
It&#x27;s an interesting idea, but I found this blog post unenlightening. Does anyone have links to other writeups?
octo_t超过 10 年前
clang does a very similar thing in the preprocessor (looking for new lines if my memory serves correctly).
billconan超过 10 年前
can http parsing be done on a GPU?
评论 #8683325 未加载