Tema: Hashtable
Ver Mensaje Individual
  #9  
Antiguo 30-07-2003
Avatar de delphi.com.ar
delphi.com.ar delphi.com.ar is offline
Federico Firenze
 
Registrado: may 2003
Ubicación: Buenos Aires, Argentina *
Posts: 5.964
Reputación: 29
delphi.com.ar Va camino a la fama
Muchachos, no quiero parece repetitivo, pero en el link que le he recomendado habla también del uso de TStrings
Cita:
Although TStrings provides similar functionality through its Values[] property, this is not a good choice. TStrings doesn't use hashing, so finding an item is an O(n) (slow for lots of data) operation, whereas with a hash it is normally O(1) (same speed regardless of the number of items).
Saludos!
__________________
delphi.com.ar

Dedique el tiempo suficiente para formular su pregunta si pretende que alguien dedique su tiempo en contestarla.
Responder Con Cita