Hacker News new | ask | show | jobs
by josefx 2086 days ago
> Type hints don't help performance either because the interpreter discards them.

With CPython they don't. Cython actually uses annotations to optimize the generated code.

1 comments

That's literally a different language though, but I get your point. CPython is the worst implementation.