-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
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
Poor performance of the compiler #201
Comments
Thanks for reporting this, and sorry for not getting back to you earlier. I’m aware of this limitation as it also affects our test suite. There’s generally no downside in using The generated code is an architectural limitation of the compiler. Although I started work to overhaul the compiler last year, which should also fix this problem, I have too little time to work on Emojicode these days. |
Thanks for letting me know. I totally understand the lack of time |
I've noticed that compiling code that includes larger array like the following
takes around 18 seconds
while compiling the same with
-O
is fast.Looking at LLVM output I think the culprit is the overuse of alloca in the generated (by emojicode compiler?) code
I would assume that
-O
would influence the output binary code to be optimized.From logical point of view I would expect non-optimized compilation should be faster than the optimized one as optimization phase is omitted.
The text was updated successfully, but these errors were encountered: