This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strengthen ICF hash


Jan Hubicka <hubicka@ucw.cz> writes:
>
> The hash itself is quite simple (borrowing incremental hash for constants adding
> very simple match for other stuff + logic to skip things that may match even if
> they are syntactticaly different). The hash can be strenghtened significantly,
> but I suppose we may do it based on actual profiling. It also is loosely based
> on varasm.c constant pool hash implementation that was OK for years.

FWIW i have some older patches to use a stronger/faster spooky hash for
incremential hash. But I never submitted them because I wasn't able
to show clear gains for the type hashing (that was the original
motivator) since you fixed it.

But if you're interested I can update them to the latest tree.
spooky is very good at dealing with a lot of input data quickly.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]