On Wednesday, 11 January 2017 at 00:11:50 UTC, Chris M wrote:
On Tuesday, 10 January 2017 at 13:13:17 UTC, Basile B. wrote:
On Tuesday, 10 January 2017 at 11:38:43 UTC, Guillaume Piolat
wrote:
On Tuesday, 10 January 2017 at 10:41:54 UTC, Basile B. wrote:
don't forget to flag
asm pure nothrow {}
otherwise it's slow.
Why?
It's an empirical observation. In september I tried to get why
an inline asm function was slow. What happened was that I
didn't mark the asm block as nothrow
https://forum.dlang.org/post/xznocpxtalpayvkrw...@forum.dlang.org
I opened an issue asking the specifications to explain that
clearly.
Huh, that's really interesting, thanks for posting. I guess my
other question would be how do I determine if a block of
assembly is pure?
The game changer for the performances is just "nothrow".