struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Galbreath, Mark" <Galbre...@tessco.com>
Subject RE: iterate tag usage
Date Wed, 13 Feb 2002 12:55:57 GMT
I didn't see any code that suggested primitives were being passed.
Nevertheless,  there's no question primitive arrays are faster than Vectors
(about 40 times faster!) and ArrayLists (about 4 times faster).

Cheers!
Mark

-----Original Message-----
From: Arron Bates [mailto:arronb@pacific.net.au]
Sent: Tuesday, February 12, 2002 10:26 PM

Mark,

You're absolutely correct.

As for the "you can't use Object[]" stuff.... read the code.
Primitive arrays are perfectly fine, and most likely faster again than 
ArrayLists.

Arron.

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message