This is what I also read but what internally happens which makes it work
fast I mean the if you do not set it to fast mode with a flag what is the
implementation and can u give me a use case where using a FastHashMap would
be a better idea then the regular HashMap. Also exactly at what stage the
flag should be set to true which will give the performance boost "FAST" and
also i u can spell a example it will be great.
I really wanna know what goes inside the hood cause in my project we have
like HashMaps used in whole sale and I want to see where I can really make a
difference.

Thanx in advance.

Bhanu Pabreja

-----Original Message-----
From: Olivier Lamy [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 10:59 AM
To: 'Jakarta Commons Users List'
Subject: RE : [Collections] Difference between HashMap and FastHashMap


As I understand in the javadoc
http://jakarta.apache.org/commons/collections/api/org/apache/commons/col
lections/FastHashMap.html

A customized implementation of java.util.HashMap designed to operate in
a multithreaded environment where the large majority of method calls are
read-only, instead of structural changes

-----Message d'origine-----
De : Bhanu Pabreja [mailto:[EMAIL PROTECTED]
Envoy� : jeudi 4 d�cembre 2003 16:49
� : Jakarta Commons Users List
Objet : [Collections] Difference between HashMap and FastHashMap



Hi All,

Can anybody throw me a light on the difference between these
implementations. I tried to read but actually could not understand the
difference.

If someone can explicity tell me it will really be nice and will put
light
on to my mind.

Thanx in advance.

Bhanu Pabreja


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail, any attachments and the information contained therein ("this
message") are confidential and intended solely for the use of the
addressee(s). If you have received this message in error please send it back
to the sender and delete it. Unauthorized publication, use, dissemination or
disclosure of this message, either in whole or in part is strictly
prohibited.
**********************************************************************
Ce message �lectronique et tous les fichiers joints ainsi que  les
informations contenues dans ce message ( ci apr�s "le message" ), sont
confidentiels et destin�s exclusivement � l'usage de la  personne � laquelle
ils sont adress�s. Si vous avez re�u ce message par erreur, merci  de le
renvoyer � son �metteur et de le d�truire. Toutes diffusion, publication,
totale ou partielle ou divulgation sous quelque forme que se soit non
express�ment autoris�es de ce message, sont interdites.
**********************************************************************




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to