Skip to Main Content
Java™ Performance and Scalability, Volume 1: Server-Side Programming Techniques
book

Java™ Performance and Scalability, Volume 1: Server-Side Programming Techniques

by Dov Bulka
June 2000
Intermediate to advanced content levelIntermediate to advanced
320 pages
5h 54m
English
Addison-Wesley Professional
Content preview from Java™ Performance and Scalability, Volume 1: Server-Side Programming Techniques

Chapter 3. Vectors and Hashtables

I originally intended to write a chapter on the collection framework discussing each and every collection. However, I could not get away from the 80–20 principle: 20 percent of the available data structures will be used 80 percent of the time. Since your time is valuable, I wanted to get straight to the point and discuss the two collections that I see most often in commercial code. These are Vector and Hashtable. I don't doubt that people are also using Stack and ArrayList and other fine collections, but the discussion of Vector and Hashtable performance issues will capture many of the generic principles underlying the other collections as well.

Optimization 17: Vector Add and Remove

The Vector public interface ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology

Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology

Greg Barish

Publisher Resources

ISBN: 0201704293Purchase book