Talk:Java performance: Difference between revisions

Content deleted Content added
Article non-neutrality: Garbage collection
Line 104:
 
: In my personal experience, it's very easy in Java to create programs which create and garbage a lot of objects (much more than in C++, where you have to be very careful to avoid memory leaks). But creating / deleting objects comes at a cost where you do this VERY often. [[User:Hervegirod|Hervegirod]] ([[User talk:Hervegirod|talk]]) 22:20, 19 March 2010 (UTC)
 
:: While we're on the subject of garbage, the time taken to perform a garbage collect in some implementations depends on the number of objects allocated - so it is worth having fewer objects if speed is important. [[User:Stephen B Streater|Stephen B Streater]] ([[User talk:Stephen B Streater|talk]]) 23:02, 20 March 2010 (UTC)