ROOT  6.06/09
Reference Guide
Functions
THashList.cxx File Reference
#include "THashList.h"
#include "THashTable.h"
+ Include dependency graph for THashList.cxx:

Go to the source code of this file.

Functions

 ClassImp (THashList) THashList
 Create a THashList object. More...
 

Function Documentation

ClassImp ( THashList  )

Create a THashList object.

Capacity is the initial hashtable capacity (i.e. number of slots), by default kInitHashTableCapacity = 17, and rehash is the value at which a rehash will be triggered. I.e. when the average size of the linked lists at a slot becomes longer than rehash then the hashtable will be resized and refilled to reduce the collision rate to about 1. The higher the collision rate, i.e. the longer the linked lists, the longer lookup will take. If rehash=0 the table will NOT automatically be rehashed. Use Rehash() for manual rehashing.

WARNING !!! If the name of an object in the HashList is modified, The hashlist must be Rehashed

Definition at line 25 of file THashList.cxx.