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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Making CPython Faster

5 点作者 Spiritus将近 4 年前

1 comment

belharius将近 4 年前
[[In a “meta” issue in the GitHub tracker, Van Rossum outlined the three main pieces of the plan for 3.11. They all revolve around the idea of speeding up the bytecode interpreter through speculative specialization, which adapts the VM to run faster on some code because the object being operated on is of a known and expected type (or has some other attribute that can be determined with a simple test).]]<p>I thought adding type hints would improve the execution speed. If not now, at some point. Apparently they are not even considering it. They consider speculative specialization, which is likely more work than specialization based on known type hints. Still great to see that &#x27;speed&#x27; is not ignored by the developers.
评论 #27370901 未加载