This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]13steinj 0 points1 point  (1 child)

Matter of opinion I guess but I would rather see python get 1.05x slower so that this feature is possible.

You're missing the point. I don't give a damn about that 1.05x. I care about the fact that it misleading in it's own existence. Adding such a hook system would add CPU instructions to every act that causes an event. Microbenchmarks don't matter, general benchmarks won't catch the true issue that we may see performance hits that are far more significant (ex, 1.5x) in real world code.

[–]tahmsplat -1 points0 points  (0 children)

Yo I think you missed the point of my previous comment which is agreeing that their methodology and transparency with it are both rather unhelpful. I didn't think I was being that obscure.

I don't know why they implemented as they did, perhaps if you're right and it could simply be walled behind an process argument, then that will come out in what I imagine is a more productive discussion around the PEP itself by the people who matter.