In general, I do think we have to rename nbits to len in the public API wherever possible. some examples I found so far:
- panic message of the
insert function
- debug output field is named
nbits, which matches the type definition but is confusing, because the function to get length is called len