Commit e2e563b
authored
Remove unused memoized caches from Context (ruby#1644)
## Summary
- Remove `class_attributes` and `instance_attributes` methods (zero
callers)
- Remove obsolete `instance_method_list` method (deprecated wrapper)
- Remove memoization from `class_method_list` and `instance_methods` —
these are only called once per class/module during generation, so
caching adds no benefit1 parent 1bacf79 commit e2e563b
1 file changed
+2
-26
lines changed| 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