Bookmark Topic Watch Topic
  • New Topic

No

 
Dhananjay Ramakrishnappa
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Therz no difference in terms of effieciency.

In the first case a is compared with null

In the second case null is compared with a.

Its very much similar to if(a==a){}
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
I thing this post belongs in the Performance forum in this thread
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic