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