Commit dce67ad
committed
Remove unused memoized caches from Context
Remove class_attributes, instance_attributes, and instance_method_list
methods that had zero callers. Remove memoization from class_method_list
and instance_methods since they are only called once per class/module
during generation, making the caching unnecessary and problematic for
server mode where methods can change between re-parses.1 parent d7d58e6 commit dce67ad
1 file changed
Lines changed: 2 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | 643 | | |
651 | 644 | | |
652 | 645 | | |
653 | 646 | | |
654 | | - | |
| 647 | + | |
655 | 648 | | |
656 | 649 | | |
657 | 650 | | |
| |||
951 | 944 | | |
952 | 945 | | |
953 | 946 | | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | 947 | | |
962 | 948 | | |
963 | 949 | | |
964 | 950 | | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
| 951 | + | |
976 | 952 | | |
977 | 953 | | |
978 | 954 | | |
| |||
0 commit comments