We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
string2: str = string1 * N
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
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
N = 106
CPython
LPython
N = 107
CPython
LPython (force break)
The text was updated successfully, but these errors were encountered: