Choose number of replications based on data
Đang mở
@mdboom đang làm issue này rồi.
Từ ngày 9/4/2024.
3.13
interpreter-core
performance
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 35.9k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
Currently we replicate the LOAD_FAST and STORE_FAST instructions 8 times (for opargs 0-7). The _INIT_CALL_PY_EXACT_ARGS micro-op gets replicated 5 times.
These numbers were chosen arbitrarily as initial values to test replication.
We should choose the number of replications based on actual data.
We should also look into replicating COPY and SWAP, as it is much simpler to do stack caching on instructions with a fixed stack effect.
E.g. SWAP indexes the stack using oparg, but SWAP_2 is simply SWAP_2(left, right -- right, left).
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.