Abstract:Short-circuit evaluation, instead of full evaluation, of Boolean expressions is a technique used in programming languages to save execution time and prevent run-time errors. In addition, use of short-circuiting may save space for the object code needed to evaluate Boolean expressions. In this article we show that whether shortcircuit or full evaluation requires less space depends on the processor architecture, the type of expression, and the compiler. After examining the types of Boolean expressions commonly u… Show more
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.