[llvm-dev] StringSwitch class

Anupama Chandrasekhar via llvm-dev llvm-dev at lists.llvm.org
Fri Feb 5 14:43:42 PST 2016


Hi:

I have a question about the llvm StringSwitch class. Why is this more
efficient than comparing the hashes of the strings or just using a bunch of
if statements.

Anupama
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160205/9be0fcc8/attachment.html>


More information about the llvm-dev mailing list