[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230609112147.24cd3756@kernel.org>
Date: Fri, 9 Jun 2023 11:21:47 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Pedro Tammela <pctammela@...atatu.com>
Cc: netdev@...r.kernel.org, tgraf@...g.ch, herbert@...dor.apana.org.au,
davem@...emloft.net, dsahern@...nel.org, edumazet@...gle.com,
pabeni@...hat.com
Subject: Re: [RFC PATCH net-next 0/4] rhashtable: length helper for
rhashtable and rhltable
On Fri, 9 Jun 2023 15:13:40 -0300 Pedro Tammela wrote:
> > I mean the name of the helper is not great. > IDK what length of a hashtable is. Feels like a Python-ism.
>
> Well 'length' has been the term used in a few languages (Python, Rust,
> Go, etc...) so it felt the most fitting. If you have any suggestions in
> mind, do tell; Some that crossed my mind were:
> - count
> - size
> - elems
> - num
count and elems sound best to me
Powered by blists - more mailing lists