Search This Blog

Saturday, August 14, 2010

Object creation in Java is slow [closed]

Programmer Question

My experience shows that object creation in Java is very slow. Often, I optimize my code by just removing object creation and using the same objects repeatedly.



I am wondering if its similarly slow in other language with OOP base, because, to me, it is very counter intuitive that a language that's hardcore object oriented, takes so much time for object creation.



Has anybody profiled this on several langauges?



Find the answer here

No comments:

Post a Comment

Related Posts with Thumbnails