Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bjourne
33 days ago
|
parent
|
context
|
favorite
| on:
Python 3.15's JIT is now back on track
Untrue. Objects and attributes may be shared by threads so attribute accesses can't in general be localized.
anematode
32 days ago
[–]
It is true! If you explicitly synchronize between threads, sure, you can't optimize it in general, but if not, the compiler is well within its rights to cache the access.
bjourne
30 days ago
|
parent
[–]
Sure, if the compiler can prove that the objects are thread-local. But that's not the general case.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: