Commit efe3e59
committed
[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 d0e9eca commit efe3e59
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 | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
816 | | - | |
817 | | - | |
818 | | - | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
819 | 828 | | |
| 829 | + | |
| 830 | + | |
820 | 831 | | |
821 | 832 | | |
822 | 833 | | |
823 | 834 | | |
| 835 | + | |
824 | 836 | | |
825 | 837 | | |
826 | 838 | | |
827 | 839 | | |
828 | | - | |
829 | | - | |
830 | 840 | | |
831 | 841 | | |
832 | 842 | | |
| |||
0 commit comments