Hans Wennborg: C++ switch statements under the hood in LLVM

Hans Wennborg: C++ switch statements under the hood in LLVM

4.072 Lượt nghe
Hans Wennborg: C++ switch statements under the hood in LLVM
Are switch statements more efficient than if-else chains? How do they get optimized? This deep dive into Clang/LLVM's handling of the switch construct will tell you everything you wanted to know, and probably more. The event was kindly hosted by think-cell, https://www.think-cell.com Event page: https://www.meetup.com/stockholmcpp/events/304293099/ More information about C++ in Sweden and around the world at https://swedencpp.se