Hacker News new | ask | show | jobs
by xiej 20 days ago
Unfortunately it's not inlined in debug/no optimization mode so that's rough.
2 comments

I'll go out on a limb and hypothesize that there are going to be much larger difference between debug and release mode for any non-trivial code that the overhead of `toggle` in debug mode will quite literally never end up mattering to anyone in practice.
Why should it be? That's a feature of debug.