Commit 2df69b3
[http] keep cache for TMethodCall objects
When exe.json executed for same method many times create TMethodCall once
and reuse it. Should significantly reduce memory fragmentation from cling and
probably avoid memory leaks.1 parent 1eafcbc commit 2df69b3
2 files changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| 28 | + | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
828 | | - | |
829 | | - | |
830 | | - | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
831 | 840 | | |
| 841 | + | |
| 842 | + | |
832 | 843 | | |
833 | 844 | | |
834 | 845 | | |
835 | 846 | | |
| 847 | + | |
836 | 848 | | |
837 | 849 | | |
838 | 850 | | |
839 | 851 | | |
840 | | - | |
841 | | - | |
842 | 852 | | |
843 | 853 | | |
844 | 854 | | |
| |||
0 commit comments