Almenon / Almenon/AREPL-backend

Execution takes far more time than it should

Ouverte
#2 7 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Python
Étoiles
14
Forks
8
Merge moyen
4 j 19 h
PR mergées (30 j)
4

Description

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? 🏖️ 🍸

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.