Lancern's Treasure Chest
21:34 · Jan 16, 2024 · Tue
HackerNews
Std: Clamp generates less efficient assembly than std:min(max,std:max(min,v))
Blogspot
why gcc and clang sometimes emit an extra mov instruction for std::clamp on x86
UPDATE: This blog post has been updated based on feedback from Reddit and Hacker News. HN discussion: https://news.ycombinator.com/item?id...
Home
Powered by
BroadcastChannel
&
Sepia