Re: [HACKERS] Lazy hash table for XidInMVCCSnapshot (helps Zipfiana bit) - Mailing list pgsql-hackers

From Sokolov Yura
Subject Re: [HACKERS] Lazy hash table for XidInMVCCSnapshot (helps Zipfiana bit)
Date
Msg-id 20170822151740.3a13d69d@falcon-work
Whole thread Raw
In response to Re: [HACKERS] Lazy hash table for XidInMVCCSnapshot (helps Zipfian a bit)  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [HACKERS] Lazy hash table for XidInMVCCSnapshot (helps Zipfian a bit)  (Michael Paquier <michael.paquier@gmail.com>)
Re: [HACKERS] Lazy hash table for XidInMVCCSnapshot (helps Zipfian abit)  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Simplified a bit and more commented patch version is in attach.

Algorithm were switched to linear probing, it makes code simpler and
clearer.
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: https://postgrespro.ru
The Russian Postgres Company

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: amul sul
Date:
Subject: Re: [HACKERS] Hash Functions
Next
From: Stephen Frost
Date:
Subject: Re: [HACKERS] Updating line length guidelines