About two years ago, in Data Structures and Algorithms, our lecturer briefly talked about the “If-then-else” statement and how much expensive it is as an operation. Leaving us with many questions, I extensively researched the topic and found out that the word “expensive” is, well, really relative. Nevertheless, a particular student found a way to avoid the cost…
Posts for
2010 September
CodeSOD: How to avoid the expensive “If-then-else” statement
Posted by Panagiotis Peikidis on 03 Sep 2010 - 3 Comments »
