is instanceof operator expensive ?

Is instanceof operator expensive and bad to use?

There is always discussion about instanceof operator being expensive and performance intensive and should be avoided wherever possible.

 

Here is a review of instanceof which I liked :

http://www.velocityreviews.com/forums/t302491-instanceof-not-always-bad-the-instanceof-myth.html

Hope it clears all the questions about instanceof operator.

Happy coding :)

 


Powered by Bullraider.com

neotrade NeotradeAnalytics is providing best and affordable priced realtime data (Futures and options , Currency) feed for worlds best charting tool Amibroker. We are official vendors of NSE India

Support us


JASMIM © by I-SAN.de
Follow Us on Twitter
Find Us on Facebook
Follow Us on Google
Follow Us on Pinterest