simplehash.h typo

Started by Jeff Janesover 8 years ago4 messages
#1Jeff Janes
jeff.janes@gmail.com

/* round up size to the next power of 2, that's the bucketing works */

That should probably be "that's the **way** bucketing works". Or maybe it
is an idiom I don't grok.

Cheers,

Jeff

#2Heikki Linnakangas
hlinnaka@iki.fi
In reply to: Jeff Janes (#1)
Re: simplehash.h typo

On 05/28/2017 04:50 AM, Jeff Janes wrote:

/* round up size to the next power of 2, that's the bucketing works */

That should probably be "that's the **way** bucketing works". Or maybe it
is an idiom I don't grok.

Fixed, thanks. I also fixed and clarified some other comments in the
file that seemed wrong or confusing to me.

- Heikki

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

#3Andres Freund
andres@anarazel.de
In reply to: Heikki Linnakangas (#2)
Re: simplehash.h typo

On 2017-06-05 11:10:12 +0300, Heikki Linnakangas wrote:

On 05/28/2017 04:50 AM, Jeff Janes wrote:

/* round up size to the next power of 2, that's the bucketing works */

That should probably be "that's the **way** bucketing works". Or maybe it
is an idiom I don't grok.

No, you're perfectly right!

Fixed, thanks. I also fixed and clarified some other comments in the file
that seemed wrong or confusing to me.

Thanks for looking - I don't see any commit though?

- Andres

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

#4Heikki Linnakangas
hlinnaka@iki.fi
In reply to: Andres Freund (#3)
Re: simplehash.h typo

On 06/05/2017 11:26 AM, Andres Freund wrote:

On 2017-06-05 11:10:12 +0300, Heikki Linnakangas wrote:

Fixed, thanks. I also fixed and clarified some other comments in the file
that seemed wrong or confusing to me.

Thanks for looking - I don't see any commit though?

Pushed now. Note to self: remove --dry-run when you intend to commit for
real :-).

- Heikki

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