[TYPO3-english] Duplicate cHash values

Mathias Schreiber [wmdb >] mathias.schreiber at wmdb.de
Mon Jan 19 10:51:50 CET 2009


Dmitry Dulepov schrieb:
> Hi!
> 
> Dmitry Martynenko wrote:
>> May be better solution is to decrease key length - for example use 16
>> byte (binary) MD5 value, instead of 32 chars value. In any case they are equal.
>> Binary comparison is always faster then text comparison. Because text
>> comparison also takes in account character sets and case sensitivity.
> 
> md5 provides uniqueness only if it is full 32-bit value. Using 16 bit will decrease probablity of conflict but will not eliminate it.

Why not use integers anyways?

enjoy
Mattes


More information about the TYPO3-english mailing list