|
|
|
|
|
by pizlonator
345 days ago
|
|
JIT and VM writer here. I’m also pretty clued in on how CPython works because I ported it to Fil-C. I think if I was being paid to make CPython faster I’d spend at least a year changing how objects work internally. The object model innards are simply too heavy as it stands. Therefore, eliminating the kinds of overheads that JITs eliminate (the opcode dispatch, mainly) won’t help since that isn’t the thing the CPU spends much time on when running CPython (or so I would bet). |
|
But I'm trying to find/recall a blog post that detailed the different steps in shrinking the CPython object struct...
If you say that's not enough, more radical changes needed, I would understand.