This kind of code compiles and runs extremely slow. #12710
Unanswered
RickyYCheng
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've learned a "skill" due to this question.
codewars: A Simple Postfix Language
And my answer is:
then we can call
begin_ push 1 push 2 add end_
in F#!In
Haskell
version, they advise:for this kind of code, the F# version will be slow too.
my quetsion is why do our program will run slowly?
and if you just use the pipeline
|>
such asit will have a very beautiful performance.
Beta Was this translation helpful? Give feedback.
All reactions