Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I don't think the comment 'we do not recommend general use of these functions' applies, becaue this is not one of those undocumented internal-use builtins.
Should this be best practice? In gcc project they say:
"GCC provides a large number of built-in functions other than the ones mentioned above. Some of these are for internal use in the processing of exceptions or variable-length argument lists and are not documented here because they may change from time to time; we do not recommend general use of these functions."
https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
What the hell? How is that clever
it's not fair
@B4B You still didn't mark it as spoiler! x/
Not an opinion. It's just a fact.
For me this is over.
It doesn't compile in another compilers. For example try to compile it into Visual Studio C++
Also, the implementation it's not yours. You're using a builtin function that only the GCC compiler has implemented. So, I must say that it's only a nice trick. But must not be considered best practice by no means.
It's faster than other implementations (including mine)? YES
Has been implemented by you? NO
Must be considered a solution to the exercise? NO!
It works, right?
This comment is hidden because it contains spoiler information about the solution
lol, nice one