3 ms·You compute baz in both branches, you can refactor. x = baz(if (something) foo() else bar())by junke 10y agoYou compute baz in both branches, you can refactor. x = baz(if (something) foo() else bar())