|
From: <tri...@tr...> - 2004-02-27 20:47:54
|
Eduardo, I assume that you mean the new JdbcTemplate.queryForList() It's an interesting question and I think the jury is still out on whether the Linked List or ArrayList would perform better here - I have seen arguments going both ways (if I have some extra time I will run some benchmarks for our specific use). A lot depends on the size of the resultset and I would not use this method for running a query returning a really large number of rows anyway. That said, I'd be happy to change it if there definitely is a performace difference. Thomas Quoting Eduardo Issao Ito <zi...@su...>: > > I noticed that JdbcHelper.queryForList() method returns an ArrayList, but a > LinkedList should not be more appropriate (more performant without need of > array > realocation as the list grows) as it is a generic funcition and the rowcount > is > not known in advance? > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |