3 ms·
Perhaps a wrong link? Your link shows a case where the compiler's implementation is better than a custom one.
by vardump 3y ago
Perhaps a wrong link? Your link shows a case where the compiler's implementation is better than a custom one.
- Thorrez 3y agoHas the link been edited? And are you taking about the question or the answers? In the question, __builtin_popcount is the slowest of the 3 options on both compilers.