Closed kmr-srbh closed 3 months ago
string1: str = "a" string2: str = string1 * 10**6
(base) saurabh-kumar@Awadh:~/Projects/System/lpython$ time python3 ./examples/example.py real 0m0.038s user 0m0.021s sys 0m0.017s
(base) saurabh-kumar@Awadh:~/Projects/System/lpython$ time ./src/bin/lpython ./examples/example.py real 0m29.449s user 0m29.396s sys 0m0.049s
string1: str = "a" string2: str = string1 * 10**7
(base) saurabh-kumar@Awadh:~/Projects/System/lpython$ time python3 ./examples/example.py real 0m0.055s user 0m0.030s sys 0m0.025s
(base) saurabh-kumar@Awadh:~/Projects/System/lpython$ time ./src/bin/lpython ./examples/example.py ^C real 9m24.159s user 9m23.510s sys 0m0.144s
N = 106
CPython
LPython
N = 107
CPython
LPython (force break)