Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correctly detect intrinsics and improve traits performance #37

Open
odinthenerd opened this issue Oct 23, 2017 · 0 comments
Open

correctly detect intrinsics and improve traits performance #37

odinthenerd opened this issue Oct 23, 2017 · 0 comments

Comments

@odinthenerd
Copy link
Member

the continuation version of the traits classes are not just a comfort thing, we actually have a lot of optimization potential. Because continuation style does not force us to create a type in order to retrieve the result of a trait we could actually save work especially if the trait is just calling an intrinsic under the hood. We need a way to reliably detect if an intrinsic such as __is_union exists. here for example https://llvm.org/svn/llvm-project/libcxx/trunk/include/type_traits not all the clang supported type traits are being used, see here https://github.com/llvm-mirror/clang/blob/a38ba9770a70056f9fdd6c71f819e5db45a105e4/test/PCH/cxx-traits.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant