[TYPO3-english] Duplicate cHash values

Tomaž Zaman tomaz at optiss.si
Mon Jan 19 10:18:25 CET 2009


One newbie question, if I build my own extension, extending pibase, do I
need to use these Chashes with my links (links are mostly in listview,
pointing to single view). And if yes, why?

Thank you.

Tom


On 1/19/09 9:53 AM, "Dmitry Martynenko" <dima at realt.by> wrote:

> Hi guys!
> 
>>>> This is an extremely serious issue for us, so I can write a patch. I
>>>> don't know where to start though - so any guidance you can provide is
>>>> appreciated.
>>> 
>>> I am guessing >
>>> http://www.typo3-unleashed.net/typo3apidocs/typo3api_4.2.0/html/d8/d11/class
>>> _8tslib__fe_8php-source.html#l01745
>>>  => shortMD5
>>> and the DB field is probably too short
> 
> I can suppose one improvement for keep up speed!
> 
> I have analyzed similar problem in thread "[TYPO3-english] unwanted cHash is
> generated in 50% links from USER_INT plugin"
> and I discover that increase this values from 8-10 chars to full 32
> chars MD5 value has disadvantages.
> 
> For example seek by this 32 chars keys become slow on big tables.
> 
> 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.

----------------------------------------------------------------------------
Optiss Tomaž Zaman s.p.
Mala Kostrevnica 1a
1275 Šmartno pri Litiji
Gsm: 031/601-674




More information about the TYPO3-english mailing list