Re: Small patch: Change calling convention for ShmemInitHash (and fix possible bug)

From: Aleksander Alekseev <a(dot)alekseev(at)postgrespro(dot)ru>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Small patch: Change calling convention for ShmemInitHash (and fix possible bug)
Date: 2016-03-25 12:33:08
Message-ID: 20160325153308.5945f30f@fujitsu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> No, I think we left it that way on purpose. I don't remember the
> discussion exactly, but I don't think it's hurting anything.

This was a part of original dynahash optimization patch. Since that
patch was about performance improvement and this concrete change is
about refactoring, not performance, we agreed to discuss it later as a
separate patch.

> I don't think this actually buys us anything.

For sure it doesn't make anything worse. Current code is just
confusing. I spent quite some time trying to figure out what is a
reason for passing two arguments before I realized - there is none.

--
Best regards,
Aleksander Alekseev
http://eax.me/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-03-25 12:37:01 Re: Small patch: Change calling convention for ShmemInitHash (and fix possible bug)
Previous Message Michael Paquier 2016-03-25 12:31:05 Re: VS 2015 support in src/tools/msvc