Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Open
Description
Feature or enhancement
Proposal:
The proposal is an internal implementation of the JIT and it transparent to the user.
Has this already been discussed elsewhere?
I have already discussed this feature proposal on Discourse
Links to previous discussion of this feature:
Not on Discourse, I've had extensive discussion about this with@brandtbucher and created a prototype that we benchmarked using the faster-cpython infrastructure. The full results are here:https://github.com/faster-cpython/benchmarking-public/tree/main/results/bm-20241018-3.14.0a1+-f74cd79-JIT
On macOS on Apple Silicon there is an overall 1.4% speed improvement by replacing themprotect withpthread_jit_write_protect_np.