read JavaWorlds article on Java Performance Programming http://www.javaworld.com/javaworld/jw-11-1999/jw-11-performance.html there are instance where ArrayLists are better than Vectors and vice-versa, obviously using standard arrays will be best option if possible Glenn
> -----Original Message----- > From: Michal Trojanowski [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 26, 2001 9:20 AM > To: [EMAIL PROTECTED] > Subject: Re: Offtopic: Are Vectors useful? > > > Not really if you do not need Vector's synchronization > feature. Its much > more > efficient to use ArrayList. > > Regards > Michal > > > ----- Original Message ----- > From: "Hardeep Singh" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, September 26, 2001 9:04 AM > Subject: Offtopic: Are Vectors useful? > > > > Hi, > > > > Is it efficient to use Vectors profusely for returning > multiple instances > of > > a class? How about returning Vectors through remote methods? > > > > Thanx & Regards > > Hardeep Singh > > http://SeeingWithC.cjb.net > > > > > ============================================================== > ============= > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST > DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > ============================================================== > ============= > To unsubscribe: mailto [EMAIL PROTECTED] with body: > "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
