4 ms·
Modified BSD License (3-Clause BSD license), so it is permissive. Not apparent from header file only.
by vodou 4y ago
Modified BSD License (3-Clause BSD license), so it is permissive. Not apparent from header file only.
- AdmiralAsshat 4y agoAre any of these still needed, though? I kinda assumed they would be like Duff's Device and be a nifty historical relic, but firmly in the "Let the compiler do this for you" category in modern C.
- TonyTrapp 4y agoMany of those are not standard functions (or were not, until very recently). You have to implement it somehow, so having a ready-made collection that also performs well is very nice to have.
- jesse__ 4y agoWhen you're working on Frostbite you definitely need these. Optimizers are smart, but aren't smart enough yet
- anonymoushn 4y agoHow do you let the compiler do these things for you?
- saagarjha 4y agoBy having someone write the optimization passes to detect these :)
- KMnO4 4y agoCompile with optimizations enabled.
- anonymoushn 4y agoWhat code specifically do you write instead of the code in TFA, in order to have the optimizer generate the code in TFA? In general compiling with optimizations enabled has not produced particularly good code in my experience.