Re: [RFC PATCH net-next 0/4] rhashtable: length helper for rhashtable and rhltable

From
Jakub Kicinski <kuba@kernel.org>
Date
2023-06-09 18:21:49
Reply to
Pedro Tammela, 2023-06-09
On Fri, 9 Jun 2023 15:13:40 -0300 Pedro Tammela wrote:
quoted
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
Thread (9 messages) 9 messages, 3 authors, last reply 2023-06-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help