On Thu, Apr 15, 2021 at 11:09 AM Larry Hastings firstname.lastname@example.org wrote:
Thanks for doing this! I don't think PEP 649 is going to be accepted or rejected based on either performance or memory usage, but it's nice to see you confirmed that its performance and memory impact is acceptable.
If I run "ann_test.py 1", the annotations are already turned into strings. Why do you do it that way? It makes stock semantics look better, because manually stringized annotations are much faster than evaluating real expressions.
Because `if TYPE_CHECKING` and manually stringified annotation is used in real world applications. I want to mix both use cases.