TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Making CPython Faster

5 pointsby Spiritusalmost 4 years ago

1 comment

belhariusalmost 4 years ago
[[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 未加载