Piroumian, Konstantin wrote: > Sylvain, Berin, > > you are very convincing ;) > I told that only because just yesterday have read about it in Bruce Eckel's > "Thinking in Java 2nd Edition" (Appendix C, Implementation section, 14). It > sounds something like (have read it in Russian and will try to translate it > back to English): > > 14. ... > <quot> > Use containers from standart Java libs. Becoming more professional in > container usage, you will also improve your perfomance. Prefer to use > ArrayList for sequences, HashSet for sets, HashMap for associated arrays and > LinkedList for stacks (instead of Stack) and queries. > </quot> > > Konstantin >
Just forward our replies to Bruce Eckel :) There's also an in-depth article on this subject at http://www.onjava.com/lpt/a//onjava/2001/05/30/optimization.html And many performance hints at the author's website : http://www.javaperformancetuning.com/ Sylvain -- Sylvain Wallez Anyware Technologies - http://www.anyware-tech.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]