Save This Page
Home » slf4j-1.5.5 » org.apache » log4j » performance » [javadoc | source]
org.apache.log4j.performance
public class: ListVsVector [javadoc | source]
java.lang.Object
   org.apache.log4j.performance.ListVsVector
Compares the performance of looping through a list versus a Vector. Chain looping is *20* times faster than vector access on JDK 1.1.7B on NT
Nested Class Summary:
static class  ListVsVector.Chain   
Field Summary
static  int RUN_LENGTH     
static  Vector v     
static  ListVsVector.Chain head     
static  String tmp     
Method from org.apache.log4j.performance.ListVsVector Summary:
loopChain,   loopVector,   main
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.log4j.performance.ListVsVector Detail:
 static double loopChain() 
 static double loopVector() 
 public static  void main(String[] args)