Choose number of replications based on data
Abierto
@mdboom ya está trabajando en esto.
Desde el 9/4/2024.
3.13
interpreter-core
performance
- Lenguaje dominante
- Python
- Estrellas
- 77.2k
- Forks
- 36k
- Métricas de merge de PR
- Métricas de PR pendientes
Descripción
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).
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.