We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Actually, if statements are cheaper than function calls. Function calls result in a push to the stack. Which means pushing a pointer to the function name and then pushing each of the parameters.
Tree: Postorder Traversal
You are viewing a single comment's thread. Return to all comments →
Actually, if statements are cheaper than function calls. Function calls result in a push to the stack. Which means pushing a pointer to the function name and then pushing each of the parameters.