Re: Lazy hash table for XidInMVCCSnapshot (helps Zipfian a bit)

From: Sokolov Yura <funny(dot)falcon(at)postgrespro(dot)ru>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-hackers-owner(at)postgresql(dot)org
Subject: Re: Lazy hash table for XidInMVCCSnapshot (helps Zipfian a bit)
Date: 2017-08-22 12:17:40
Message-ID: 20170822151740.3a13d69d@falcon-work
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Simplified a bit and more commented patch version is in attach.

Algorithm were switched to linear probing, it makes code simpler and
Flag usages were toggled: now it indicates that hash table were built,
it also makes code clearer.
XidInXip and some other functions got comments.

With regards,
Sokolov Yura aka funny_falcon
Postgres Professional:
The Russian Postgres Company

Attachment Content-Type Size
0001-Make-hash-table-for-xip-in-XidInMVCCSnapshot-v3.patch text/x-patch 11.4 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2017-08-22 13:28:41 Re: Updating line length guidelines
Previous Message amul sul 2017-08-22 12:14:19 Re: Hash Functions