lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simplify and speed up uniquify (issue 583390043 by address@hidden)


From: Dan Eble
Subject: Re: Simplify and speed up uniquify (issue 583390043 by address@hidden)
Date: Fri, 24 Jan 2020 11:29:47 -0500

On Jan 24, 2020, at 11:11, address@hidden wrote:
>> Don't assume the hash function is perfect: create the table with more
> buckets,
>> say 2*size.
> 
> I'd not do that.  It's second-guessing the implementation.  The size
> should be good as a hint.  In particular if there are actual
> duplicates...

You are right.  I hadn't read the documentation closely enough.  The 
constructor argument is a minimum bucket count.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]