Broad goals for 3.12 (and beyond) #376
markshannon
started this conversation in
General
Replies: 1 comment
-
Also https://gist.github.com/markshannon/f51ba3dca24a891dc37d4ab7f3886098:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Fundamentals
This means that we want:
C code to consist of builtin functions that are well typed and don't call back in Python (much).
This needs new calling convention(s) that allow us to do appropriate work (parsing arguments, etc) in the VM and leave the C code to do the real work. See #374
Speeding up the execution of Python code
This is the big one.
See #375
Removing incidental overhead due to poor memory layout, reference counting and cycle GC.
The cycle GC
We currently perform cycle collection too often, and not very effectively.
We should be able to fix this be using better triggers.
We could also reduce the overhead of tracing during GC with a more declarative model, or some parallelism and pre-fetching. This is likely to both harder and less profitable than just doing fewer collections.
Compact object headers
See #125
Beta Was this translation helpful? Give feedback.
All reactions