Almenon / Almenon/AREPL-backend

Execution takes far more time than it should

Abierto
#2 7 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Python
Estrellas
14
Forks
8
Merge medio
4 d 19 h
PR fusionados (30 d)
4

Descripción

porting this issue over from [AREPL](https://github.com/Almenon/AREPL/issues/41)

```python
x = [[i for i in range(10000000)]]
```
Timings in ms:

List Size | Python Time | Total Time (py & JS)
------------ | ------------ | -------------
10^4 | 0 | 23
10^5 | 2.98 | 225
10^6 | 48.1 | 2363
10^7 | 489 | 24337

I'd be okay with a doubling or even tripling of the execution time but this is clearly rediculous. Only **~2%** of the execution time is actually spent executing the user's code. God knows what the computer is doing the rest of the time. Sipping martinis on the beach? 🏖️ 🍸

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.