Commit f6adf1c
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 34c94b3 commit f6adf1c
3 files changed
Lines changed: 27 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3076 | 3076 | | |
3077 | 3077 | | |
3078 | 3078 | | |
3079 | | - | |
| 3079 | + | |
| 3080 | + | |
| 3081 | + | |
| 3082 | + | |
| 3083 | + | |
3080 | 3084 | | |
3081 | 3085 | | |
3082 | 3086 | | |
3083 | | - | |
| 3087 | + | |
3084 | 3088 | | |
3085 | 3089 | | |
3086 | 3090 | | |
| |||
3501 | 3505 | | |
3502 | 3506 | | |
3503 | 3507 | | |
3504 | | - | |
| 3508 | + | |
3505 | 3509 | | |
3506 | 3510 | | |
3507 | 3511 | | |
| |||
3524 | 3528 | | |
3525 | 3529 | | |
3526 | 3530 | | |
3527 | | - | |
| 3531 | + | |
3528 | 3532 | | |
3529 | 3533 | | |
3530 | 3534 | | |
| |||
| 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 | |
|---|---|---|---|
| |||
6743 | 6743 | | |
6744 | 6744 | | |
6745 | 6745 | | |
6746 | | - | |
6747 | | - | |
6748 | | - | |
6749 | | - | |
6750 | | - | |
6751 | | - | |
6752 | | - | |
6753 | | - | |
6754 | | - | |
6755 | | - | |
6756 | | - | |
6757 | | - | |
6758 | | - | |
6759 | | - | |
6760 | | - | |
6761 | | - | |
6762 | | - | |
6763 | | - | |
6764 | | - | |
6765 | 6746 | | |
6766 | 6747 | | |
6767 | 6748 | | |
| |||
6921 | 6902 | | |
6922 | 6903 | | |
6923 | 6904 | | |
6924 | | - | |
| 6905 | + | |
6925 | 6906 | | |
6926 | 6907 | | |
6927 | 6908 | | |
| |||
0 commit comments