<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Clarity is more important imho. Worry about making it faster only if it ever seems too slow (i.e., on testing, and only "optimise" the parts you need to).</div><div><br></div><div>Ivan<br><br>--<br>festina lente<div><br></div></div><div><br>On 7 Mar 2013, at 09:11, "饕餮" <249505968@<a href="http://qq.com">qq.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div><span style="font-size: 14px; line-height: 1.5;">I wonder if Function call is better than Case when both of they can implement the target I want?</span></div><div>It seems like write a function instead of case could make the code more clear .</div><div>But which one is fast when it running?<span style="line-height: 1.5; font-size: 14px;"> </span></div><div>I intend to change the case to function to make the code more clear. Is this valuable?</div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></body></html>