<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://doku.sergev.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://doku.sergev.org/feed.php">
        <title>Serge.V Lumber Barn hash</title>
        <description></description>
        <link>https://doku.sergev.org/</link>
        <image rdf:resource="https://doku.sergev.org/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-07T00:33:44+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://doku.sergev.org/hash/conflicts?rev=1150578546&amp;do=diff"/>
                <rdf:li rdf:resource="https://doku.sergev.org/hash/efficiency-en?rev=1652678646&amp;do=diff"/>
                <rdf:li rdf:resource="https://doku.sergev.org/hash/efficiency?rev=1652678652&amp;do=diff"/>
                <rdf:li rdf:resource="https://doku.sergev.org/hash/sources?rev=1212688471&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://doku.sergev.org/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Serge.V Lumber Barn</title>
        <link>https://doku.sergev.org/</link>
        <url>https://doku.sergev.org/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://doku.sergev.org/hash/conflicts?rev=1150578546&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2006-06-17T21:09:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>hash:conflicts</title>
        <link>https://doku.sergev.org/hash/conflicts?rev=1150578546&amp;do=diff</link>
        <description>Collisions of hash functions

RS


8c36aef3: silicon
          gnat__cgi__cookie__cookie_table__table_conversions__to_pointerXnnb
633e1b15: tailgate
          roundup
6a0db76c: __ti30TimeGreaterOrEqualPrimitiveObj
          FSErrorListSize
5e793508: косолапит
          ipRegLocalMcast
5e282b5e: оттрубивший
          shellClassRec
737a82d3: прогиб
          nodeListRest__24SelectByClassNodeListObjR11EvalContextR11Interpreter
14243765: рассортировавший
          header_complex_add_data
564f8cf6: с…</description>
    </item>
    <item rdf:about="https://doku.sergev.org/hash/efficiency-en?rev=1652678646&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-05-16T05:24:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>hash:efficiency-en</title>
        <link>https://doku.sergev.org/hash/efficiency-en?rev=1652678646&amp;do=diff</link>
        <description>Hash Function Efficiency

(This article is also available  in Russian)

In article of Arash Partow

&quot;General Purpose Hash Function Algorithms&quot;
several 32-bit algorithms are reviewed:

	*  rs --- simple hash function from Robert Sedgwicks book  &#039;Algorithms in C&#039;
	*  js --- bitwise hash function by Justin Sobel
	*  pjw ---</description>
    </item>
    <item rdf:about="https://doku.sergev.org/hash/efficiency?rev=1652678652&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-05-16T05:24:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>hash:efficiency</title>
        <link>https://doku.sergev.org/hash/efficiency?rev=1652678652&amp;do=diff</link>
        <description>Эффективность хэш-функций

(Есть вариант этой статьи  на английском языке)

В статье Arash Partow

&quot;General Purpose Hash Function Algorithms&quot;
приведены восемь вариантов 32-битных хэш-функций:

	*  rs --- простая хэш-функция из книги Роберта Седжвика</description>
    </item>
    <item rdf:about="https://doku.sergev.org/hash/sources?rev=1212688471&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-06-05T17:54:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>hash:sources</title>
        <link>https://doku.sergev.org/hash/sources?rev=1212688471&amp;do=diff</link>
        <description>General purpose hash function algorithms library

Variants RS--AP are taken from Arash Partow collection:
&lt;http://www.partow.net/programming/hashfunctions&gt;.

RS Hash Function


unsigned int RSHash (char *str, unsigned int len)
{
	unsigned int b = 378551;
	unsigned int a = 63689;
	unsigned int hash = 0;
	unsigned int i = 0;

	for (i = 0; i &lt; len; str++, i++) {
		hash = hash * a + (unsigned char)(*str);
		a = a * b;
	}
	return hash;
}</description>
    </item>
</rdf:RDF>
