Hacker News new | ask | show | jobs
by taocp 3203 days ago
http://mp2.dk/blog/blog/2014/04/14/practical-and-portable-bi...
1 comments

The compiler tends to treat static variables very differently from locals. I was holding out for efficient local functions which can be forced inlined to keep the emulated registers as actual system registers. Sadly std::function doesn't play well with force inline on all platforms.