ITADN

fix: speculative execution in wasm

#75Pull Requestindutny 创建于 2025-04-20已合并
I
indutnycommented
In https://github.com/nodejs/llparse/pull/74 we make sure to increment position by a constant whenever in a happy path so that the CPU could proceed through the loop header (`endp - p >= 16`) speculatively instead of blocking and waiting for vector to scalar to fully resolve. This doesn't seem to give an obvious performance boost yet, but potentially might have an effect with the future V8 updates. cc @mcollina @nodejs/llhttp
合并状态:已合并 合并于 2025-04-23 关闭于 2025-04-23 0 条评论