Hi,

On 17/05/2021 5:22 pm, Ammar Askar wrote:
>> While nicer locations for errors is great, it won't be popular if it has
>> a negative impact on performance.
>> Locations need to tracked through the compiler.
>
> In performance sensitive contexts won't most code be pre-compiled into
> pyc files anyway? I feel like the performance cost of accurate column
> tracking in the compiler isn't too big of a concern unless I'm missing
> something.
>

The cost I'm concerned about is the runtime cost of worse code, because the compiler can't perform some optimizations due the constraints of providing the extended debug information.

Cheers,
Mark.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/IXXOBTZJQEVF6EZP5ACQNKTN7RVDQ7SI/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to