On Wed, 13 Mar 2024 06:52:10 -0500 "G. Branden Robinson" <g.branden.robin...@gmail.com> wrote:
> A hash table (or map) of size 1 is not a hash table, it's a list. A container does not change its type based on its size. I don't know what you're trying to fix here, but it sounds unimportant. If the user is creating, let us say, unnecessary or counterproductive overhead by calling for a map of size 1, is that ever a problem in practice? I would think the effect is undetectable. > The advantage to switching to STL containers for these hash tables > would be to get groff out of the business of maintaining its own > implementations in favor of those that have been more rigorously > tested 100% --jkl