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]

Re: -liberty for the type hash


>   It's really nice to start relying more and more on algorithmically
> sound generic pieces of code.  That makes things much easier to
> understand, and more efficient as well.

Right. You might have noticed that I could not have htab_t tables as
generic GC roots, though. I still needed a structure to store the hash
value together with the type*, so the elements in the hash would not
be trees, but type_hash pointers.

Also, I dumped the contents of the type hash using type_as_string (in
cc1plus), and noticed that there are apparently duplicate function
types in the hash table. I will have to investigate this further.

Regards,
Martin

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