Commit 64017db
committed
ZJIT: Use a slice for ISeq
This gets rid of the copying of the entire opt_table in
function_stub_hit() since it only reads one element. HIR builder
still does a copy and that's unchanged. It needs to read the whole
table.opt_table for quick one-off access1 parent 1cbb161 commit 64017db
3 files changed
Lines changed: 26 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3069 | 3069 | | |
3070 | 3070 | | |
3071 | 3071 | | |
3072 | | - | |
| 3072 | + | |
| 3073 | + | |
| 3074 | + | |
| 3075 | + | |
| 3076 | + | |
3073 | 3077 | | |
3074 | 3078 | | |
3075 | 3079 | | |
3076 | | - | |
| 3080 | + | |
3077 | 3081 | | |
3078 | 3082 | | |
3079 | 3083 | | |
| |||
3494 | 3498 | | |
3495 | 3499 | | |
3496 | 3500 | | |
3497 | | - | |
| 3501 | + | |
3498 | 3502 | | |
3499 | 3503 | | |
3500 | 3504 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
741 | 759 | | |
742 | 760 | | |
743 | 761 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6726 | 6726 | | |
6727 | 6727 | | |
6728 | 6728 | | |
6729 | | - | |
6730 | | - | |
6731 | | - | |
6732 | | - | |
6733 | | - | |
6734 | | - | |
6735 | | - | |
6736 | | - | |
6737 | | - | |
6738 | | - | |
6739 | | - | |
6740 | | - | |
6741 | | - | |
6742 | | - | |
6743 | | - | |
6744 | | - | |
6745 | | - | |
6746 | | - | |
6747 | | - | |
6748 | 6729 | | |
6749 | 6730 | | |
6750 | 6731 | | |
| |||
6904 | 6885 | | |
6905 | 6886 | | |
6906 | 6887 | | |
6907 | | - | |
| 6888 | + | |
6908 | 6889 | | |
6909 | 6890 | | |
6910 | 6891 | | |
| |||
0 commit comments