[llvm-commits] [PATCH] Make Inits FoldingSetNodes

David A. Greene greened at obbligato.org
Thu Jul 14 15:00:43 PDT 2011


Chris Lattner <clattner at apple.com> writes:

> Yep, thanks Dave.  It might be best to just ignore FoldingSet
> all-together and just use map<std::vector<...>, RecInit*> or whatever.
> This avoids the space overhead of the foldingsetnode base class.

I'm concerned about lookup time of the latter.  Wouldn't a
FastFoldingSetNode be much, well, faster?  :)

                                -Dave




More information about the llvm-commits mailing list