# Order of if conditions and performance?

**URL:** https://forum.kirupa.com/t/order-of-if-conditions-and-performance/302309
**Category:** Uncategorized
**Created:** [December 26, 2009, 4:59pm UTC](https://forum.kirupa.com/t/order-of-if-conditions-and-performance/302309 "2009-12-26T16:59:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![werehunt](https://avatars.discourse-cdn.com/v4/letter/w/b782af/32.png) [@werehunt](https://forum.kirupa.com/u/werehunt)
#### Post date: [December 26, 2009, 4:59pm UTC](https://forum.kirupa.com/t/order-of-if-conditions-and-performance/302309/1 "2009-12-26T16:59:38Z")

</div>

whan constructing conditions in if statement i was always looking to put more important ones (which have most chance to broke the condition) at the beginning.

like:  
if(a\<b && d != z and so on…){

}

but this actually doesnt matter…or does it?
