| From: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> |
| Cc: | Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: speedup tidbitmap patch: hash BlockNumber |
| Date: | 2014-12-16 17:07:38 |
| Message-ID: | 549066DA.6090800@sigaev.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> I think this suggestion is misguided, and the patch itself needs
> rethinking. Instead of doing this, let's hack dynahash.c itself
> to substitute a shim like this when it's told function == tag_hash and
> keysize == sizeof(uint32). Then we can remove any similar shims that
> already exist, and possibly end up with a net savings of code rather than
> adding more.
done, actoually I found oid_hash shim only.
--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/
| Attachment | Content-Type | Size |
|---|---|---|
| tbm_blocknumber-3.patch.gz | application/x-gzip | 3.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Simon Riggs | 2014-12-16 17:07:48 | Re: WALWriter active during recovery |
| Previous Message | Tom Lane | 2014-12-16 16:57:54 | Re: [Bug] Inconsistent result for inheritance and FOR UPDATE. |